PS_MODIFIEREXTRANGE
code: 167
# set
<module-index>/<port-index> PS_MODIFIEREXTRANGE [<stream_index>, <modifier_index>] <min_val> <step> <max_val>
# get
<module-index>/<port-index> PS_MODIFIEREXTRANGE [<stream_index>, <modifier_index>] ?
Description
Range specification for an extended packet modifier for a stream header, specifying which values the modifier should take on. This applies only to incrementing and decrementing modifiers; random modifiers always produce every possible bit pattern. The range is specified as a three values: mix, step, and max, where max must be equal to min plus a multiple of step. Note that when “decrement” is specified in PS_MODIFIEREXT as the action, the value sequence will begin with the max value instead of the min value and decrement from there: {max, max-1, max-2, …., min, max, max-1…}.
Actions
set, get
Parameters
Example
# set
input: 0/1 PS_MODIFIEREXTRANGE [0, 0] 0 1 65535
output: <OK>
# get
input: 0/1 PS_MODIFIEREXTRANGE [0, 0] ?
output: 0/1 PS_MODIFIEREXTRANGE [0, 0] 0 1 65535