wip
Dependents: EthernetInterface_vz
Fork of lwip by
Diff: include/lwip/opt.h
- Revision:
- 21:568185eacced
- Parent:
- 20:fea5f39cefb5
- Child:
- 22:8ed1aa2e4f08
- Child:
- 23:70978ec2996f
--- a/include/lwip/opt.h Tue Sep 16 15:07:53 2014 +0000 +++ b/include/lwip/opt.h Tue Sep 16 20:59:56 2014 +0000 @@ -231,7 +231,7 @@ * (requires the LWIP_RAW option) */ #ifndef MEMP_NUM_RAW_PCB -#define MEMP_NUM_RAW_PCB 4 +#define MEMP_NUM_RAW_PCB 16//pzn4 #endif /** @@ -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//jhc4 #endif /** @@ -319,7 +319,7 @@ * (only needed if you use the sequential API, like api_lib.c) */ #ifndef MEMP_NUM_NETBUF -#define MEMP_NUM_NETBUF 2 +#define MEMP_NUM_NETBUF 8//pzn2 #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//4 #endif /** @@ -479,7 +479,7 @@ * on a 32-bit boundary, so setting this to 2 can speed up 32-bit-platforms. */ #ifndef ETH_PAD_SIZE -#define ETH_PAD_SIZE 0 +#define ETH_PAD_SIZE 0 //2 does not work here!!! by pzn #endif /** ETHARP_SUPPORT_STATIC_ENTRIES==1: enable code to support static ARP table @@ -519,7 +519,7 @@ * via IP_FRAG. */ #ifndef IP_REASSEMBLY -#define IP_REASSEMBLY 1 +#define IP_REASSEMBLY 0//pzn1 #endif /** @@ -528,7 +528,7 @@ * controlled via IP_REASSEMBLY. */ #ifndef IP_FRAG -#define IP_FRAG 1 +#define IP_FRAG 1//0//pzn1 #endif /** @@ -573,7 +573,7 @@ * IP_DEFAULT_TTL: Default value for Time-To-Live used by transport layers. */ #ifndef IP_DEFAULT_TTL -#define IP_DEFAULT_TTL 255 +#define IP_DEFAULT_TTL 77 #endif /** @@ -881,7 +881,7 @@ * LWIP_TCP==1: Turn on TCP. */ #ifndef LWIP_TCP -#define LWIP_TCP 1 +#define LWIP_TCP 0 #endif /** @@ -1365,7 +1365,7 @@ * timers running in tcpip_thread from another thread. */ #ifndef LWIP_TCPIP_TIMEOUT -#define LWIP_TCPIP_TIMEOUT 1 +#define LWIP_TCPIP_TIMEOUT 0 #endif /* @@ -1452,7 +1452,7 @@ * LWIP_STATS==1: Enable statistics collection in lwip_stats. */ #ifndef LWIP_STATS -#define LWIP_STATS 1 +#define LWIP_STATS 0 #endif #if LWIP_STATS @@ -1497,7 +1497,7 @@ * ICMP_STATS==1: Enable ICMP stats. */ #ifndef ICMP_STATS -#define ICMP_STATS 1 +#define ICMP_STATS 0 #endif /** @@ -2040,4 +2040,4 @@ #define DNS_DEBUG LWIP_DBG_OFF #endif -#endif /* __LWIP_OPT_H__ */ +#endif /* __LWIP_OPT_H__ */ \ No newline at end of file