]>
Commit | Line | Data |
---|---|---|
6e6d4a8b JP |
1 | #ifndef LWIPOPTS_H |
2 | #define LWIPOPTS_H | |
3 | ||
4 | #define NO_SYS 1 | |
5 | ||
47c41031 | 6 | |
6e6d4a8b JP |
7 | #define LWIP_SOCKET 0 |
8 | #define LWIP_NETCONN 0 | |
9 | ||
10 | #define LWIP_SNMP 0 | |
11 | ||
12 | #define LWIP_DHCP 1 | |
13 | ||
2d34b5d2 JW |
14 | /* For big ones... */ |
15 | extern void _memcpy(void *dest, const void *src, int bytes); | |
16 | #define MEMCPY(dst,src,len) _memcpy(dst,src,len) | |
17 | ||
18 | /* Lots of tricks from http://lists.gnu.org/archive/html/lwip-users/2006-11/msg00007.html */ | |
19 | ||
6f9272bd | 20 | #define MEM_SIZE 65536 |
2d34b5d2 | 21 | #define TCP_MSS 1460 |
bbfab433 JP |
22 | #define TCP_WND 24000 |
23 | #define TCP_SND_BUF (16 * TCP_MSS) | |
2d34b5d2 | 24 | #define TCP_SND_QUEUELEN 16 |
bbfab433 JP |
25 | |
26 | #define MEMP_NUM_PBUF 128 | |
47c41031 | 27 | |
6e6d4a8b | 28 | #endif |