P4G_TCP_RTO_PROLONGED_MODE

# set
<module-index>/<port-index> P4G_TCP_RTO_PROLONGED_MODE [<group_index>] <mode> <timeout>

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

Description

Configure TCP retransmission prolonged mode. When enabled, TCP will, after exceeding max number of retransmission retries, continue trying retransmit until success, whereafter it will operate normally.

Actions

set, get

Parameters

mode: byte, specifying whether to enable/disable prolonged retransmission mode
  • DISABLE = 0

  • ENABLE = 1

timeout: integer, retransmission timeout in milliseconds, when prolonged mode is enabled. When mode is set to 0, the value of the timeout is ignored. When mode is set to 1, the value of the timeout may not be 0.

Example

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

# get
input:  0/1 P4G_TCP_RTO_PROLONGED_MODE [0] ?
output: 0/1 P4G_TCP_RTO_PROLONGED_MODE [0] DISABLE 1