mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-02 19:29:30 +00:00
Control TCP MSS in the project's conf
This commit is contained in:
parent
364fc9cacf
commit
a72d90e283
@ -44,10 +44,14 @@
|
|||||||
#define CC26XX_WEB_DEMO_CONF_COAP_SERVER 1
|
#define CC26XX_WEB_DEMO_CONF_COAP_SERVER 1
|
||||||
#define CC26XX_WEB_DEMO_CONF_NET_UART 1
|
#define CC26XX_WEB_DEMO_CONF_NET_UART 1
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Shrink the size of the uIP buffer, routing table and ND cache */
|
/*
|
||||||
|
* Shrink the size of the uIP buffer, routing table and ND cache.
|
||||||
|
* Set the TCP MSS
|
||||||
|
*/
|
||||||
#define UIP_CONF_BUFFER_SIZE 900
|
#define UIP_CONF_BUFFER_SIZE 900
|
||||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 8
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS 8
|
||||||
#define UIP_CONF_MAX_ROUTES 8
|
#define UIP_CONF_MAX_ROUTES 8
|
||||||
|
#define UIP_CONF_TCP_MSS 128
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#endif /* PROJECT_CONF_H_ */
|
#endif /* PROJECT_CONF_H_ */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
@ -220,7 +220,7 @@
|
|||||||
#define UIP_CONF_TCP 1
|
#define UIP_CONF_TCP 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef UIP_CONF_TCP_MSS
|
#ifndef UIP_CONF_TCP_MSS
|
||||||
#define UIP_CONF_TCP_MSS 128
|
#define UIP_CONF_TCP_MSS 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define UIP_CONF_UDP 1
|
#define UIP_CONF_UDP 1
|
||||||
|
Loading…
Reference in New Issue
Block a user