Browse Source

Merge pull request #1186 from flyingcys/kconfig

update lwip Kconfig
Bernard Xiong 7 years ago
parent
commit
17afd47844
1 changed files with 9 additions and 0 deletions
  1. 9 0
      components/net/Kconfig

+ 9 - 0
components/net/Kconfig

@@ -180,6 +180,15 @@ config RT_USING_LWIP
         config LWIP_SO_RCVBUF
             int "Enable SO_RCVBUF processing"
             default 1
+
+        config RT_LWIP_NETIF_LOOPBACK
+            bool "Enable netif loopback"
+            default n
+
+        config LWIP_NETIF_LOOPBACK
+        	int
+        	default 1 if RT_LWIP_NETIF_LOOPBACK
+        	default 0 if !RT_LWIP_NETIF_LOOPBACK
     endif
 
 endmenu