Loading...
Searching...
No Matches
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.

#define CONFIG_GNRC_TCP_CONNECTION_TIMEOUT_DURATION_MS   (120U * MS_PER_SEC)
 Timeout duration in milliseconds for user calls.
 
#define CONFIG_GNRC_TCP_MSL_MS   (30U * MS_PER_SEC)
 Maximum segment lifetime (MSL) in milliseconds.
 
#define CONFIG_GNRC_TCP_MSS   (1220U)
 Maximum Segment Size (MSS).
 
#define CONFIG_GNRC_TCP_MSS_MULTIPLICATOR   (1U)
 MSS Multiplicator = Number of MSS sized packets stored in receive buffer.
 
#define CONFIG_GNRC_TCP_DEFAULT_WINDOW   (CONFIG_GNRC_TCP_MSS * CONFIG_GNRC_TCP_MSS_MULTIPLICATOR)
 Default receive window size.
 
#define CONFIG_GNRC_TCP_RCV_BUFFERS   (1U)
 Number of preallocated receive buffers.
 
#define GNRC_TCP_RCV_BUF_SIZE   (CONFIG_GNRC_TCP_DEFAULT_WINDOW)
 Default receive buffer size.
 
#define CONFIG_GNRC_TCP_RTO_LOWER_BOUND_MS   (1U * MS_PER_SEC)
 Lower bound for RTO in milliseconds.
 
#define CONFIG_GNRC_TCP_RTO_UPPER_BOUND_MS   (60U * MS_PER_SEC)
 Upper bound for RTO in milliseconds.
 
#define CONFIG_GNRC_TCP_RTO_GRANULARITY_MS   (10U)
 Clock granularity for TCP in milliseconds.
 
#define CONFIG_GNRC_TCP_RTO_A_DIV   (8U)
 Alpha value for RTO calculation, default is 1/8.
 
#define CONFIG_GNRC_TCP_RTO_B_DIV   (4U)
 Beta value for RTO calculation, default is 1/4.
 
#define CONFIG_GNRC_TCP_RTO_K   (4U)
 K value for RTO calculation, default is 4.
 
#define CONFIG_GNRC_TCP_PROBE_LOWER_BOUND_MS   (1U * MS_PER_SEC)
 Lower bound for the duration between probes in milliseconds.
 
#define CONFIG_GNRC_TCP_PROBE_UPPER_BOUND_MS   (60U * MS_PER_SEC)
 Upper bound for the duration between probes in milliseconds.
 
#define CONFIG_GNRC_TCP_MSG_QUEUE_SIZE_EXP   (2U)
 Message queue size for TCP API internal messaging.
 
#define CONFIG_GNRC_TCP_EVENTLOOP_MSG_QUEUE_SIZE_EXP   (3U)
 Message queue size for the TCP eventloop.
 
#define CONFIG_GNRC_TCP_EXPERIMENTAL_DYN_MSL_EN   0
 Enable experimental feature "dynamic msl".
 
#define CONFIG_GNRC_TCP_EXPERIMENTAL_DYN_MSL_RTO_MUL   (4U)
 Set RTO multiplication factor if experimental feature "dynamic msl" is enabled.