Author: jgardou
Date: Mon Nov 10 18:00:13 2014
New Revision: 65363
URL:
http://svn.reactos.org/svn/reactos?rev=65363&view=rev
Log:
[LWIP]
- enable SNMP, UDP, ICMP and loopback interface support.
Modified:
branches/tcpip_revolution/lib/drivers/lwip/CMakeLists.txt
branches/tcpip_revolution/lib/drivers/lwip/src/include/lwipopts.h
Modified: branches/tcpip_revolution/lib/drivers/lwip/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/tcpip_revolution/lib/drivers/lw…
==============================================================================
--- branches/tcpip_revolution/lib/drivers/lwip/CMakeLists.txt [iso-8859-1] (original)
+++ branches/tcpip_revolution/lib/drivers/lwip/CMakeLists.txt [iso-8859-1] Mon Nov 10
18:00:13 2014
@@ -56,6 +56,7 @@
src/core/snmp/mib2.c
src/core/snmp/msg_in.c
src/core/snmp/msg_out.c
+ src/netif/etharp.c
precomp.h)
add_library(lwip ${SOURCE})
@@ -66,4 +67,5 @@
if(LTCG)
add_compile_flags("-fno-builtin-malloc -fno-builtin-free")
endif()
+ add_compile_flags("-Wno-address")
endif()
Modified: branches/tcpip_revolution/lib/drivers/lwip/src/include/lwipopts.h
URL:
http://svn.reactos.org/svn/reactos/branches/tcpip_revolution/lib/drivers/lw…
==============================================================================
--- branches/tcpip_revolution/lib/drivers/lwip/src/include/lwipopts.h [iso-8859-1]
(original)
+++ branches/tcpip_revolution/lib/drivers/lwip/src/include/lwipopts.h [iso-8859-1] Mon Nov
10 18:00:13 2014
@@ -14,7 +14,7 @@
#define MEM_ALIGNMENT 4
-#define LWIP_ARP 0
+#define LWIP_ARP 1
#define ARP_QUEUEING 0
@@ -30,21 +30,21 @@
#define IP_SOF_BROADCAST_RECV 1
-#define LWIP_ICMP 0
-
-#define LWIP_RAW 0
+#define LWIP_ICMP 1
+
+#define LWIP_RAW 1
#define LWIP_DHCP 0
#define LWIP_AUTOIP 0
-#define LWIP_SNMP 0
+#define LWIP_SNMP 1
#define LWIP_IGMP 0
#define LWIP_DNS 0
-#define LWIP_UDP 0
+#define LWIP_UDP 1
#define LWIP_UDPLITE 0
@@ -96,6 +96,8 @@
#define PPPOS_SUPPORT 0
+#define LWIP_NETIF_LOOPBACK 1
+
/*
---------------------------------------
---------- Debugging options ----------
@@ -203,4 +205,4 @@
/**
* TCPIP_DEBUG: Enable debugging in tcpip.c.
*/
-#define TCPIP_DEBUG LWIP_DBG_OFF
+#define TCPIP_DEBUG LWIP_DBG_OFF