Barrelfish
Macros
lwipopts.h File Reference

lwIP configuration file for Barrelfish. More...

Macros

#define LWIP_DHCP   1
 Build DHCP client.
 
#define LWIP_DNS   1
 Build DNS client.
 
#define LWIP_POSIX_SOCKETS_IO_NAMES   0
 Don't want lwip POSIX socket wrappers.
 
#define LWIP_COMPAT_SOCKETS   0
 We do not want LWIP to provide POSIX errno. More...
 
#define LWIP_NETIF_STATUS_CALLBACK   1
 Use malloc() from libc. More...
 
#define DHCP_DOES_ARP_CHECK   0
 Don't do ARP lookup to test IP.
 
#define SYS_LIGHTWEIGHT_PROT   0
 Disable locks (we lock the whole stack)
 
#define MEMP_NUM_TCP_PCB   200
 Number of simultaneously active TCP connections.
 
#define MEMP_NUM_TCP_SEG   512
 Number of TCP segments.
 
#define TCP_WND   11680
 TCP window size.
 
#define TCP_MSS   1460
 TCP maximum segment size.
 
#define TCP_SND_BUF   8192
 TCP send buffer size.
 
#define TCP_SND_QUEUELEN   (16 * (TCP_SND_BUF/TCP_MSS))
 TCP send queue length (pbufs)
 
#define LWIP_HAVE_LOOPIF   1
 Enable debugging. More...
 

Detailed Description

lwIP configuration file for Barrelfish.

Macro Definition Documentation

#define LWIP_COMPAT_SOCKETS   0

We do not want LWIP to provide POSIX errno.

Don't want socket functions overriden by lwIP. We provide our own.

#define LWIP_HAVE_LOOPIF   1

Enable debugging.

Enable have loopif (localhost hostname translation)

#define LWIP_NETIF_STATUS_CALLBACK   1

Use malloc() from libc.

We want to be informed about interface up/down