Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
config.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015-2017 Simon Brummer
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
#include "
timex.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
54
#ifndef CONFIG_GNRC_TCP_CONNECTION_TIMEOUT_DURATION_MS
55
#define CONFIG_GNRC_TCP_CONNECTION_TIMEOUT_DURATION_MS (120U * MS_PER_SEC)
56
#endif
57
61
#ifndef CONFIG_GNRC_TCP_MSL_MS
62
#define CONFIG_GNRC_TCP_MSL_MS (30U * MS_PER_SEC)
63
#endif
64
68
#ifndef CONFIG_GNRC_TCP_MSS
69
#ifdef MODULE_GNRC_IPV6
70
#define CONFIG_GNRC_TCP_MSS (1220U)
71
#else
72
#define CONFIG_GNRC_TCP_MSS (576U)
73
#endif
74
#endif
75
79
#ifndef CONFIG_GNRC_TCP_MSS_MULTIPLICATOR
80
#define CONFIG_GNRC_TCP_MSS_MULTIPLICATOR (1U)
81
#endif
82
86
#ifndef CONFIG_GNRC_TCP_DEFAULT_WINDOW
87
#define CONFIG_GNRC_TCP_DEFAULT_WINDOW (CONFIG_GNRC_TCP_MSS * CONFIG_GNRC_TCP_MSS_MULTIPLICATOR)
88
#endif
89
96
#ifndef CONFIG_GNRC_TCP_RCV_BUFFERS
97
#define CONFIG_GNRC_TCP_RCV_BUFFERS (1U)
98
#endif
99
103
#ifndef GNRC_TCP_RCV_BUF_SIZE
104
#define GNRC_TCP_RCV_BUF_SIZE (CONFIG_GNRC_TCP_DEFAULT_WINDOW)
105
#endif
106
114
#ifndef CONFIG_GNRC_TCP_RTO_LOWER_BOUND_MS
115
#define CONFIG_GNRC_TCP_RTO_LOWER_BOUND_MS (1U * MS_PER_SEC)
116
#endif
117
121
#ifndef CONFIG_GNRC_TCP_RTO_UPPER_BOUND_MS
122
#define CONFIG_GNRC_TCP_RTO_UPPER_BOUND_MS (60U * MS_PER_SEC)
123
#endif
124
128
#ifndef CONFIG_GNRC_TCP_RTO_GRANULARITY_MS
129
#define CONFIG_GNRC_TCP_RTO_GRANULARITY_MS (10U)
130
#endif
131
135
#ifndef CONFIG_GNRC_TCP_RTO_A_DIV
136
#define CONFIG_GNRC_TCP_RTO_A_DIV (8U)
137
#endif
138
142
#ifndef CONFIG_GNRC_TCP_RTO_B_DIV
143
#define CONFIG_GNRC_TCP_RTO_B_DIV (4U)
144
#endif
145
149
#ifndef CONFIG_GNRC_TCP_RTO_K
150
#define CONFIG_GNRC_TCP_RTO_K (4U)
151
#endif
152
156
#ifndef CONFIG_GNRC_TCP_PROBE_LOWER_BOUND_MS
157
#define CONFIG_GNRC_TCP_PROBE_LOWER_BOUND_MS (1U * MS_PER_SEC)
158
#endif
159
163
#ifndef CONFIG_GNRC_TCP_PROBE_UPPER_BOUND_MS
164
#define CONFIG_GNRC_TCP_PROBE_UPPER_BOUND_MS (60U * MS_PER_SEC)
165
#endif
166
172
#ifndef CONFIG_GNRC_TCP_MSG_QUEUE_SIZE_EXP
173
#define CONFIG_GNRC_TCP_MSG_QUEUE_SIZE_EXP (2U)
174
#endif
175
181
#ifndef CONFIG_GNRC_TCP_EVENTLOOP_MSG_QUEUE_SIZE_EXP
182
#define CONFIG_GNRC_TCP_EVENTLOOP_MSG_QUEUE_SIZE_EXP (3U)
183
#endif
184
193
#ifndef CONFIG_GNRC_TCP_EXPERIMENTAL_DYN_MSL_EN
194
#define CONFIG_GNRC_TCP_EXPERIMENTAL_DYN_MSL_EN 0
195
#endif
196
201
#ifndef CONFIG_GNRC_TCP_EXPERIMENTAL_DYN_MSL_RTO_MUL
202
#define CONFIG_GNRC_TCP_EXPERIMENTAL_DYN_MSL_RTO_MUL (4U)
203
#endif
206
#ifdef __cplusplus
207
}
208
#endif
209
timex.h
Utility library for comparing and computing timestamps.
Generated on Mon Nov 24 2025 18:43:15 by
1.9.1