wip
Dependents: EthernetInterface_vz
Fork of lwip by
Diff: include/lwip/opt.h
- Revision:
- 20:fea5f39cefb5
- Parent:
- 19:841ad45e9100
- Child:
- 21:568185eacced
--- a/include/lwip/opt.h Tue Sep 16 13:20:38 2014 +0000 +++ b/include/lwip/opt.h Tue Sep 16 15:07:53 2014 +0000 @@ -231,7 +231,7 @@ * (requires the LWIP_RAW option) */ #ifndef MEMP_NUM_RAW_PCB -#define MEMP_NUM_RAW_PCB 16//pzn4 +#define MEMP_NUM_RAW_PCB 4 #endif /** @@ -240,7 +240,7 @@ * (requires the LWIP_UDP option) */ #ifndef MEMP_NUM_UDP_PCB -#define MEMP_NUM_UDP_PCB 64//4 +#define MEMP_NUM_UDP_PCB 4 #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 8//pzn2 +#define MEMP_NUM_NETBUF 2 #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 64//4 +#define MEMP_NUM_NETCONN 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 //2 does not work here!!! by pzn +#define ETH_PAD_SIZE 0 #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 0//pzn1 +#define IP_REASSEMBLY 1 #endif /** @@ -528,7 +528,7 @@ * controlled via IP_REASSEMBLY. */ #ifndef IP_FRAG -#define IP_FRAG 0//pzn1 +#define IP_FRAG 1 #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 77 +#define IP_DEFAULT_TTL 255 #endif /** @@ -881,7 +881,7 @@ * LWIP_TCP==1: Turn on TCP. */ #ifndef LWIP_TCP -#define LWIP_TCP 0 +#define LWIP_TCP 1 #endif /** @@ -1365,7 +1365,7 @@ * timers running in tcpip_thread from another thread. */ #ifndef LWIP_TCPIP_TIMEOUT -#define LWIP_TCPIP_TIMEOUT 0 +#define LWIP_TCPIP_TIMEOUT 1 #endif /* @@ -1452,7 +1452,7 @@ * LWIP_STATS==1: Enable statistics collection in lwip_stats. */ #ifndef LWIP_STATS -#define LWIP_STATS 0 +#define LWIP_STATS 1 #endif #if LWIP_STATS @@ -1497,7 +1497,7 @@ * ICMP_STATS==1: Enable ICMP stats. */ #ifndef ICMP_STATS -#define ICMP_STATS 0 +#define ICMP_STATS 1 #endif /** @@ -2040,4 +2040,4 @@ #define DNS_DEBUG LWIP_DBG_OFF #endif -#endif /* __LWIP_OPT_H__ */ \ No newline at end of file +#endif /* __LWIP_OPT_H__ */