P4G_UDP_PACKET_SIZE_TYPE#

# set
<module-index>/<port-index> P4G_UDP_PACKET_SIZE_TYPE [<group_index>] <packet_size_type>

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

Description#

Specifies the UDP packet size type for a CG. The packet size can either be fixed size identical for all connections in the CG, incrementing or random. The individual packet size for a specific connection is always constant once the incrementing or random value has been created. Refer to P4G_UDP_PACKET_SIZE_MINMAX command for information on how to configure min and max values.

Actions#

set, get

Parameters#

packet_size_type: byte, specifying how UDP packet size is set
  • FIXED = 0

  • INCREMENT = 1

  • RANDOM = 2

Example#

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

# get
input:  0/1 P4G_UDP_PACKET_SIZE_TYPE [0] ?
output: 0/1 P4G_UDP_PACKET_SIZE_TYPE [0] FIXED