PL_LENGTH#

code: 210

# set
<module-index>/<port-index> PL_LENGTH [<length_term_index>] <length_check_type> <size>

# get
<module-index>/<port-index> PL_LENGTH [<length_term_index>] ?

Description#

The specification for a length-based check that is applied on the packets received on the port.

Actions#

set, get

Parameters#

  1. length_check_type: byte, whether to test for shorter-than or longer-than

  • AT_MOST = 0

  • AT_LEAST = 1

  1. size: integer, the value to compare the packet length against

Example#

# set
input:  0/1 PL_LENGTH [0] AT_MOST 1
output: <OK>

# get
input:  0/1 PL_LENGTH [0] ?
output: 0/1 PL_LENGTH [0] AT_MOST 1