P4G_RAW_PAYLOAD_TOTAL_LEN
# set
<module-index>/<port-index> P4G_RAW_PAYLOAD_TOTAL_LEN [<group_index>] <mode> <length>
# get
<module-index>/<port-index> P4G_RAW_PAYLOAD_TOTAL_LEN [<group_index>] ?
Description
Configure the total amount of payload to transmit on one connection.
Actions
set, get
Parameters
mode
: byte, generation mode.INFINITE = 0
FINITE = 1
length
: long integer, size of the payload
Example
# set
input: 0/1 P4G_RAW_PAYLOAD_TOTAL_LEN [0] INFINITE 1
output: <OK>
# get
input: 0/1 P4G_RAW_PAYLOAD_TOTAL_LEN [0] ?
output: 0/1 P4G_RAW_PAYLOAD_TOTAL_LEN [0] INFINITE 1