aboutsummaryrefslogtreecommitdiffstats
path: root/core/lwip/src/include/lwipopts.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-10 11:47:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-09-10 11:50:27 -0700
commit7ab6942e3012b43a958965cc94ceec8a20b438e9 (patch)
treec188bb4661c2f77940c3213b93664b988089b796 /core/lwip/src/include/lwipopts.h
parentea9a67f259d41952a990fc2b6224a36f87cb579a (diff)
downloadlwip-7ab6942e3012b43a958965cc94ceec8a20b438e9.tar.gz
lwip-7ab6942e3012b43a958965cc94ceec8a20b438e9.tar.xz
lwip-7ab6942e3012b43a958965cc94ceec8a20b438e9.zip
core: import lwip TCP/IP stack
Import the lwip TCP/IP stack, with the intent to use it instead of raw PXE calls in PXELINUX. Lots of work to be done here, though. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/lwip/src/include/lwipopts.h')
-rw-r--r--core/lwip/src/include/lwipopts.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
new file mode 100644
index 00000000..8bb1a838
--- /dev/null
+++ b/core/lwip/src/include/lwipopts.h
@@ -0,0 +1,22 @@
+#ifndef __LWIPOPTS_H__
+#define __LWIPOPTS_H__
+
+#define MEM_SIZE (1 << 18)
+#define MEMP_OVERFLOW_CHECK 2 /* XXX: for debugging */
+#define MEMP_SANITY_CHECK 1 /* XXX: for debugging */
+#define MEM_USE_POOLS_TRY_BIGGER_POOL 1
+
+#define MEMP_NUM_TCP_PCB 64
+#define MEMP_NUM_TCP_SEG 256
+#define MEMP_NUM_REASSDATA 32
+#define MEMP_NUM_SYS_TIMEOUT 8
+#define ARP_TABLE_SIZE 16
+#define IP_REASS_MAX_PBUFS 32
+
+#define LWIP_DNS 1
+#define DNS_MAX_SERVERS 4
+#define TCP_WND 32768
+#define TCP_MSS 4096
+#define TCP_SND_BUF 4096
+
+#endif /* __LWIPOPTS_H__ */