summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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