summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorflyingcys <[email protected]>2018-01-23 17:12:53 +0800
committerflyingcys <[email protected]>2018-01-23 17:12:53 +0800
commit00d687bb2cd5f4e831b013941c20b35790a2ab15 (patch)
treedaacef8cf7d71668dcb445e28639529b20c60ced /components
parentd8ec36a96495c07a277eec8b7c70ed00e7927227 (diff)
update lwip Kconfig
Diffstat (limited to 'components')
-rw-r--r--[-rwxr-xr-x]components/net/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig
index 750f419cc9..282ea7e776 100755..100644
--- a/components/net/Kconfig
+++ b/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