summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-01-23 17:22:42 +0800
committerGitHub <[email protected]>2018-01-23 17:22:42 +0800
commit17afd478444809f6c9702aa8af90037654c202cf (patch)
tree9121b678b6e753a16ff10ce689d1fa60d9ffa757 /components
parentf50a5e94b0d145533b41e1fcfb7577cbde56bb8f (diff)
parent00d687bb2cd5f4e831b013941c20b35790a2ab15 (diff)
Merge pull request #1186 from flyingcys/kconfig
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