]> Joshua Wise's Git repositories - netwatch.git/blame - lwip/src/include/lwipopts.h
Commit GDB patch from Jacob Potter.
[netwatch.git] / lwip / src / include / lwipopts.h
CommitLineData
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... */
15extern 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
73d65ee6 20#define MEM_SIZE (128*1024)
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 25
b59a6e50
JP
26#define MEMP_NUM_PBUF 256
27#define PBUF_POOL_SIZE 128
28#define PBUF_POOL_BUFSIZE 512
29
30#define LWIP_STATS 1
bf52024c 31#define LWIP_STATS_DISPLAY 1
db9fad13
JAW
32#define U16_F "u"
33#define S16_F "d"
34#define X16_F "x"
35#define U32_F "u"
36#define S32_F "d"
37#define X32_F "x"
47c41031 38
6e6d4a8b 39#endif
This page took 0.030498 seconds and 4 git commands to generate.