Planet Technology IDL-2401 Network Card User Manual


 
IDL series User Guide
382
Output field:
Field Description
Rule Id
Unique identifier of a filter rule entry for which this mapping is
being created
Order Index
This is the order index to allow creation of multiple entries in
this table with a single rule identified by 'ruleid'. Multiple
actions of the rule are applied in the increasing order of this
field
Action
This field specifies the action of the rule
Priority
This field specifies the priority to be set for the matching
packets. It is valid only if 'action' is either 'setprio' or
'retagprio'or 'retagserviceprio'.
ActionValue
The parameter should contain valid value for some actions
that require an additional input, other than setprio, retagprio,
and retagserviceprio actions. For copytocontrol action this
parameter should contain trap level 0 (trap disabled) or 1 (trap
enabled). Other values are invalid for this action. For
modifytos action this parameter should contain value to be set
in TOS field in the packet in the range 0 to 255. Other values
are invalid for this action. The application of this value is
dependent on the mask parameter. For setbaclevel action this
parameter should contain valid Buffer Admission Control level
value of 0 or 1. For pktvlanid and pktservicevlanid actions this
parameter should be filled with VLAN ID value in the range 1
to 4094. For mirror action this parameter should be filled
with valid mirror context id.
Action Mask
This field is valid for modifytos action only. Only lower 8-bits
are taken into consideration for modifytos action and other
bits are ignored. In the mask if a bit location contains 1, then
the corresponding bit in the TOS field is overwritten with the
corresponding bit in action value. In the mask if a bit location
contains 0, then the corresponding bit in the TOS field
remains unchanged.