]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - lwip/src/include/lwipopts.h
Apply patches from jdpotter@google.com, as submitted to NetWatch Maintainer Team...
[netwatch.git] / lwip / src / include / lwipopts.h
... / ...
CommitLineData
1#ifndef LWIPOPTS_H
2#define LWIPOPTS_H
3
4#define NO_SYS 1
5
6
7#define LWIP_SOCKET 0
8#define LWIP_NETCONN 0
9
10#define LWIP_SNMP 0
11
12#define LWIP_DHCP 1
13
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
20#define MEM_SIZE (128*1024)
21#define TCP_MSS 1460
22#define TCP_WND 24000
23#define TCP_SND_BUF (16 * TCP_MSS)
24#define TCP_SND_QUEUELEN 16
25
26#define MEMP_NUM_PBUF 256
27#define PBUF_POOL_SIZE 128
28#define PBUF_POOL_BUFSIZE 512
29
30#define LWIP_STATS 1
31#define LWIP_STATS_DISPLAY 1
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"
38
39#endif
This page took 0.019543 seconds and 4 git commands to generate.