#ifndef LWIPOPTS_H
#define LWIPOPTS_H

#define NO_SYS                     1
#define LWIP_SOCKET                0
#define LWIP_NETCONN               0

#define LWIP_ARP                   1
#define LWIP_ETHERNET              1
#define LWIP_ICMP                  1
#define LWIP_RAW                   1
#define LWIP_UDP                   1
#define LWIP_TCP                   1

#define LWIP_DHCP                  1
#define LWIP_DNS                   1
#define LWIP_IGMP                  0

#define LWIP_NETIF_HOSTNAME        1
#define LWIP_NETIF_STATUS_CALLBACK 1
#define LWIP_NETIF_LINK_CALLBACK   1

#define TCP_MSS                    1460
#define TCP_WND                    (4 * TCP_MSS)
#define TCP_SND_BUF                (4 * TCP_MSS)

#define MEM_ALIGNMENT              8
#define MEM_SIZE                   (256 * 1024)

#define LWIP_CHKSUM_ALGORITHM      3

#define LWIP_STATS                 1

// Memory management
#define MEMP_MEM_MALLOC            0
#define MEM_LIBC_MALLOC            0
#define MEM_SIZE                   (2 * 1024 * 1024)

#endif /* LWIPOPTS_H */
