P4G_UDP_PACKET_SIZE_MINMAX#

# set
<module-index>/<port-index> P4G_UDP_PACKET_SIZE_MINMAX [<group_index>] <size_min> <size_max>

# get
<module-index>/<port-index> P4G_UDP_PACKET_SIZE_MINMAX [<group_index>] ?

Description#

Configure the minimum and maximum values of the range for UDP packet size. Both values are included in the range. Relevant when P4G_UDP_PACKET_SIZE_TYPE is set to INCREMENT or RANDOM.

Actions#

set, get

Parameters#

size_min: integer, the minimum value of UDP packet size

size_max: integer, the maximum value of UDP packet size

Example#

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

# get
input:  0/1 P4G_UDP_PACKET_SIZE_MINMAX [0] ?
output: 0/1 P4G_UDP_PACKET_SIZE_MINMAX [0] 1 1