wip
Dependents: EthernetInterface_vz
Fork of lwip by
Diff: include/lwip/opt.h
- Revision:
- 17:37fea61fd4d4
- Parent:
- 0:51ac1d130fd4
- Child:
- 19:841ad45e9100
--- a/include/lwip/opt.h Thu Apr 24 10:45:42 2014 +0100 +++ b/include/lwip/opt.h Fri Sep 12 16:45:32 2014 +0000 @@ -240,7 +240,7 @@ * (requires the LWIP_UDP option) */ #ifndef MEMP_NUM_UDP_PCB -#define MEMP_NUM_UDP_PCB 4 +#define MEMP_NUM_UDP_PCB 64//4 #endif /** @@ -248,7 +248,7 @@ * (requires the LWIP_TCP option) */ #ifndef MEMP_NUM_TCP_PCB -#define MEMP_NUM_TCP_PCB 5 +#define MEMP_NUM_TCP_PCB 0 #endif /** @@ -256,7 +256,7 @@ * (requires the LWIP_TCP option) */ #ifndef MEMP_NUM_TCP_PCB_LISTEN -#define MEMP_NUM_TCP_PCB_LISTEN 8 +#define MEMP_NUM_TCP_PCB_LISTEN 0 #endif /** @@ -264,7 +264,7 @@ * (requires the LWIP_TCP option) */ #ifndef MEMP_NUM_TCP_SEG -#define MEMP_NUM_TCP_SEG 16 +#define MEMP_NUM_TCP_SEG 0 #endif /** @@ -283,7 +283,7 @@ * where the packet is not yet sent when netif->output returns. */ #ifndef MEMP_NUM_FRAG_PBUF -#define MEMP_NUM_FRAG_PBUF 15 +#define MEMP_NUM_FRAG_PBUF 0 #endif /** @@ -327,7 +327,7 @@ * (only needed if you use the sequential API, like api_lib.c) */ #ifndef MEMP_NUM_NETCONN -#define MEMP_NUM_NETCONN 4 +#define MEMP_NUM_NETCONN 64// #endif /** @@ -519,7 +519,7 @@ * via IP_FRAG. */ #ifndef IP_REASSEMBLY -#define IP_REASSEMBLY 1 +#define IP_REASSEMBLY 0 #endif /** @@ -528,7 +528,7 @@ * controlled via IP_REASSEMBLY. */ #ifndef IP_FRAG -#define IP_FRAG 1 +#define IP_FRAG 0 #endif /** @@ -881,7 +881,7 @@ * LWIP_TCP==1: Turn on TCP. */ #ifndef LWIP_TCP -#define LWIP_TCP 1 +#define LWIP_TCP 0 #endif /** @@ -903,14 +903,14 @@ * TCP_MAXRTX: Maximum number of retransmissions of data segments. */ #ifndef TCP_MAXRTX -#define TCP_MAXRTX 12 +#define TCP_MAXRTX 0 #endif /** * TCP_SYNMAXRTX: Maximum number of retransmissions of SYN segments. */ #ifndef TCP_SYNMAXRTX -#define TCP_SYNMAXRTX 6 +#define TCP_SYNMAXRTX 0 #endif /** @@ -929,7 +929,7 @@ * an upper limit on the MSS advertised by the remote host. */ #ifndef TCP_MSS -#define TCP_MSS 536 +#define TCP_MSS 0 #endif /** @@ -941,7 +941,7 @@ * netif used for a connection and limits the MSS if it would be too big otherwise. */ #ifndef TCP_CALCULATE_EFF_SEND_MSS -#define TCP_CALCULATE_EFF_SEND_MSS 1 +#define TCP_CALCULATE_EFF_SEND_MSS 0 #endif @@ -949,7 +949,7 @@ * TCP_SND_BUF: TCP sender buffer space (bytes). */ #ifndef TCP_SND_BUF -#define TCP_SND_BUF 256 +#define TCP_SND_BUF 0 #endif /** @@ -957,7 +957,7 @@ * as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work. */ #ifndef TCP_SND_QUEUELEN -#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) +#define TCP_SND_QUEUELEN 0//((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) #endif /** @@ -991,7 +991,7 @@ * 0xff is the maximum (u8_t). */ #ifndef TCP_DEFAULT_LISTEN_BACKLOG -#define TCP_DEFAULT_LISTEN_BACKLOG 0xff +#define TCP_DEFAULT_LISTEN_BACKLOG 0x00 #endif /**