config.h File Reference

GNRC TCP configuration. More...

Detailed Description

GNRC TCP configuration.

Author
Simon Brummer simon.nosp@m..bru.nosp@m.mmer@.nosp@m.post.nosp@m.eo.de

Definition in file config.h.

#include "timex.h"
+ Include dependency graph for config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GNRC_TCP_CONNECTION_TIMEOUT_DURATION   (120U * US_PER_SEC)
 Timeout duration for user calls. More...
 
#define GNRC_TCP_MSL   (30U * US_PER_SEC)
 Maximum segment lifetime (MSL). More...
 
#define GNRC_TCP_MSS   (1220U)
 Maximum Segement Size (MSS). More...
 
#define GNRC_TCP_MSS_MULTIPLICATOR   (1U)
 MSS Multiplicator = Number of MSS sized packets stored in receive buffer.
 
#define GNRC_TCP_DEFAULT_WINDOW   (GNRC_TCP_MSS * GNRC_TCP_MSS_MULTIPLICATOR)
 Default receive window size.
 
#define GNRC_TCP_RCV_BUFFERS   (1U)
 Number of preallocated receive buffers.
 
#define GNRC_TCP_RCV_BUF_SIZE   (GNRC_TCP_DEFAULT_WINDOW)
 Default receive buffer size.
 
#define GNRC_TCP_RTO_LOWER_BOUND   (1U * US_PER_SEC)
 Lower bound for RTO = 1 sec (see RFC 6298)
 
#define GNRC_TCP_RTO_UPPER_BOUND   (60U * US_PER_SEC)
 Upper bound for RTO = 60 sec (see RFC 6298)
 
#define GNRC_TCP_RTO_GRANULARITY   (10U * MS_PER_SEC)
 Assumes clock granularity for TCP of 10 ms (see RFC 6298)
 
#define GNRC_TCP_RTO_A_DIV   (8U)
 Alpha value for RTO calculation, default is 1/8.
 
#define GNRC_TCP_RTO_B_DIV   (4U)
 Beta value for RTO calculation, default is 1/4.
 
#define GNRC_TCP_RTO_K   (4U)
 K value for RTO calculation, default is 4.
 
#define GNRC_TCP_PROBE_LOWER_BOUND   (1U * US_PER_SEC)
 Lower bound for the duration between probes.
 
#define GNRC_TCP_PROBE_UPPER_BOUND   (60U * US_PER_SEC)
 Upper bound for the duration between probes.