#define LWIP_SO_RCVTIMEO 1
#define LWIP_SO_RCVBUF 1
-#define LWIP_DEBUG
+#define NOT_LWIP_DEBUG
#ifdef LWIP_DEBUG
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL // LWIP_DBG_LEVEL_SERIOUS
byte alignment -> define MEM_ALIGNMENT to 2. */
/* MSVC port: intel processors don't need 4-byte alignment,
but are faster that way! */
-#define MEM_ALIGNMENT 4
+#define MEM_ALIGNMENT 64 /* For Eth lite. */
/* MEM_SIZE: the size of the heap memory. If the application will send
a lot of data that needs to be copied, this should be set high. */
/* MEMP_NUM_TCPIP_MSG_*: the number of struct tcpip_msg, which is used
for sequential API communication and incoming packets. Used in
src/api/tcpip.c. */
-#define MEMP_NUM_TCPIP_MSG_API 8
-#define MEMP_NUM_TCPIP_MSG_INPKT 8
+#define MEMP_NUM_TCPIP_MSG_API 16
+#define MEMP_NUM_TCPIP_MSG_INPKT 16
#define MEMP_NUM_ARP_QUEUE 10
#define PBUF_POOL_SIZE 40
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
-#define PBUF_POOL_BUFSIZE 512
+#define PBUF_POOL_BUFSIZE 1518 /* Max eth frame size so no chaining. */
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
link level header. */