Lines Matching refs:act_num
588 int act_num; in __prestera_acl_rule_entry2hw_add() local
591 act_num = 0; in __prestera_acl_rule_entry2hw_add()
595 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_ACCEPT; in __prestera_acl_rule_entry2hw_add()
596 act_num++; in __prestera_acl_rule_entry2hw_add()
600 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_DROP; in __prestera_acl_rule_entry2hw_add()
601 act_num++; in __prestera_acl_rule_entry2hw_add()
605 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_TRAP; in __prestera_acl_rule_entry2hw_add()
606 act_num++; in __prestera_acl_rule_entry2hw_add()
610 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_POLICE; in __prestera_acl_rule_entry2hw_add()
611 act_hw[act_num].police = e->police.i; in __prestera_acl_rule_entry2hw_add()
612 act_num++; in __prestera_acl_rule_entry2hw_add()
616 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_JUMP; in __prestera_acl_rule_entry2hw_add()
617 act_hw[act_num].jump = e->jump.i; in __prestera_acl_rule_entry2hw_add()
618 act_num++; in __prestera_acl_rule_entry2hw_add()
622 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_COUNT; in __prestera_acl_rule_entry2hw_add()
623 act_hw[act_num].count.id = e->counter.id; in __prestera_acl_rule_entry2hw_add()
624 act_num++; in __prestera_acl_rule_entry2hw_add()
629 act_hw, act_num, &e->hw_id); in __prestera_acl_rule_entry2hw_add()