Hi, I have done following configurations for lwip but i m not sure whether it is correct or not.
1st Configuration - Considering MEM_SIZE = TCP_WND + TCP_SND_BUF #define MEM_SIZE (8 * 1024) #define TCP_WND 2048 #define TCP_MSS 1024 #define TCP_SND_BUF (6 * 1024) #define TCP_SND_QUEUELEN (4 * (TCP_SND_BUF/TCP_MSS)) #define PBUF_POOL_BUFSIZE 256 #define PBUF_POOL_SIZE ((TCP_WND + TCP_SND_BUF) / PBUF_POOL_BUFSIZE) 2nd Configuration - Considering MEM_SIZE = TCP_SND_BUF + 1024 #define MEM_SIZE (7 * 1024) #define TCP_WND 2048 #define TCP_MSS 1024 #define TCP_SND_BUF (6 * 1024) #define TCP_SND_QUEUELEN (4 * (TCP_SND_BUF/TCP_MSS)) #define PBUF_POOL_BUFSIZE 256 #define PBUF_POOL_SIZE ((TCP_WND + TCP_SND_BUF) / PBUF_POOL_BUFSIZE) Can any one tell me which configuration (1st or 2nd) is correct one or none of these? Please suggest any good document for reference to understand the configurations for lwip. Regards, Asma. -- View this message in context: http://old.nabble.com/Need-Help-for-%22Configuration-for-lwIP%22-tp34003825p34003825.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
