sys/include/net/gnrc/tcp/config.h

GNRC TCP configuration.

GNRC_TCP_CONNECTION_TIMEOUT_DURATION

Timeout duration for user calls.

1
(120U * US_PER_SEC)

Default is 2 minutes.

GNRC_TCP_MSL

Maximum segment lifetime (MSL).

1
(30U * US_PER_SEC)

Default is 30 seconds.

GNRC_TCP_MSS

Maximum Segement Size (MSS).

1
(1220U)

If IPv6 is used. Get MSS = 1280 - IPv6 Hdr - TCP Hdr = 1220

GNRC_TCP_MSS_MULTIPLICATOR

MSS Multiplicator = Number of MSS sized packets stored in receive buffer.

1
(1U)
GNRC_TCP_DEFAULT_WINDOW

Default receive window size.

1
(GNRC_TCP_MSS * GNRC_TCP_MSS_MULTIPLICATOR)
GNRC_TCP_RCV_BUFFERS

Number of preallocated receive buffers.

1
(1U)
GNRC_TCP_RCV_BUF_SIZE

Default receive buffer size.

1
(GNRC_TCP_DEFAULT_WINDOW)
GNRC_TCP_RTO_LOWER_BOUND

Lower bound for RTO = 1 sec (see RFC 6298)

1
(1U * US_PER_SEC)
GNRC_TCP_RTO_UPPER_BOUND

Upper bound for RTO = 60 sec (see RFC 6298)

1
(60U * US_PER_SEC)
GNRC_TCP_RTO_GRANULARITY

Assumes clock granularity for TCP of 10 ms (see RFC 6298)

1
(10U * MS_PER_SEC)
GNRC_TCP_RTO_A_DIV

Alpha value for RTO calculation, default is 1/8.

1
(8U)
GNRC_TCP_RTO_B_DIV

Beta value for RTO calculation, default is 1/4.

1
(4U)
GNRC_TCP_RTO_K

K value for RTO calculation, default is 4.

1
(4U)
GNRC_TCP_PROBE_LOWER_BOUND

Lower bound for the duration between probes.

1
(1U * US_PER_SEC)
GNRC_TCP_PROBE_UPPER_BOUND

Upper bound for the duration between probes.

1
(60U * US_PER_SEC)