P4G_TCP_RTO#

# set
<module-index>/<port-index> P4G_TCP_RTO [<group_index>] <rto_type> <retrans_timeout> <retry_count> <backoff>

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

Description#

Configure the value of the TCP retransmission timeout, max retries and max backoff.

Actions#

set, get

Parameters#

rto_type: byte, specifying RTO type
  • STATIC = 0

  • DYNAMIC = 1

retrans_timeout: integer, retransmission timeout [milliseconds] - must be larger than 0

retry_count: short integer, maximum retransmission retries - must be larger than 0

backoff: short integer, maximum retransmission backoff

Example#

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

# get
input:  0/1 P4G_TCP_RTO [0] ?
output: 0/1 P4G_TCP_RTO [0] STATIC 1 1 1