P_MAXHEADERLENGTH#

code: 328

# set
<module-index>/<port-index> P_MAXHEADERLENGTH <max_header_length>

# get
<module-index>/<port-index> P_MAXHEADERLENGTH ?

Description#

The maximum number of header content bytes that can be freely specified for each generated stream. The remaining payload bytes of the packet are auto- generated.The default is 128 bytes. When a larger number is select there is a corresponding proportional reduction in the number of stream definitions that are available for the port. Possible values: 128 (default), 256, 512, 1024, 2048.

Actions#

set, get

Parameters#

  1. max_header_length: integer, the maximum number of header content bytes that can be freely specified for each generated stream on the port

Example#

# set
input:  0/1 P_MAXHEADERLENGTH 1
output: <OK>

# get
input:  0/1 P_MAXHEADERLENGTH ?
output: 0/1 P_MAXHEADERLENGTH 1