# Add these lwIP 2.2.1 files to the lwip.sys driver build.
# Include directories required:
#   code/drivers/net/lwip/include
#   code/third_party/lwip/src/include
# Port glue
drivers/net/lwip/lwip_sys_arch.c
drivers/net/lwip/lwip_stack.c

# lwIP core
third_party/lwip/src/core/init.c
third_party/lwip/src/core/def.c
third_party/lwip/src/core/dns.c
third_party/lwip/src/core/inet_chksum.c
third_party/lwip/src/core/ip.c
third_party/lwip/src/core/mem.c
third_party/lwip/src/core/memp.c
third_party/lwip/src/core/netif.c
third_party/lwip/src/core/pbuf.c
third_party/lwip/src/core/raw.c
third_party/lwip/src/core/stats.c
third_party/lwip/src/core/sys.c
third_party/lwip/src/core/altcp.c
third_party/lwip/src/core/altcp_alloc.c
third_party/lwip/src/core/altcp_tcp.c
third_party/lwip/src/core/tcp.c
third_party/lwip/src/core/tcp_in.c
third_party/lwip/src/core/tcp_out.c
third_party/lwip/src/core/timeouts.c
third_party/lwip/src/core/udp.c

# IPv4
third_party/lwip/src/core/ipv4/acd.c
third_party/lwip/src/core/ipv4/autoip.c
third_party/lwip/src/core/ipv4/dhcp.c
third_party/lwip/src/core/ipv4/etharp.c
third_party/lwip/src/core/ipv4/icmp.c
third_party/lwip/src/core/ipv4/igmp.c
third_party/lwip/src/core/ipv4/ip4_frag.c
third_party/lwip/src/core/ipv4/ip4.c
third_party/lwip/src/core/ipv4/ip4_addr.c

# netconn/socket API
third_party/lwip/src/api/api_lib.c
third_party/lwip/src/api/api_msg.c
third_party/lwip/src/api/err.c
third_party/lwip/src/api/netbuf.c
third_party/lwip/src/api/tcpip.c

# Ethernet netif helper
third_party/lwip/src/netif/ethernet.c
