mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
lw-ip: Add option to ipv6 stateless address configuration
This commit is contained in:
@@ -241,6 +241,14 @@ menu "LWIP"
|
||||
If rate limiting self-assignment requests, wait this long between
|
||||
each request.
|
||||
|
||||
config LWIP_IPV6_AUTOCONFIG
|
||||
bool "Enable IPV6 stateless address autoconfiguration"
|
||||
default n
|
||||
help
|
||||
Enabling this option allows the devices to IPV6 stateless address autoconfiguration.
|
||||
|
||||
See RFC 4862.
|
||||
|
||||
menuconfig LWIP_NETIF_LOOPBACK
|
||||
bool "Support per-interface loopback"
|
||||
default y
|
||||
|
@@ -775,7 +775,6 @@
|
||||
#define ESP_THREAD_SAFE_DEBUG LWIP_DBG_OFF
|
||||
#define ESP_DHCP 1
|
||||
#define ESP_DNS 1
|
||||
#define ESP_IPV6_AUTOCONFIG 1
|
||||
#define ESP_PERF 0
|
||||
#define ESP_IP4_ATON 1
|
||||
#define ESP_LIGHT_SLEEP 1
|
||||
@@ -791,6 +790,10 @@
|
||||
#define ESP_AUTO_RECV 1
|
||||
#define ESP_GRATUITOUS_ARP CONFIG_ESP_GRATUITOUS_ARP
|
||||
|
||||
#ifdef CONFIG_LWIP_IPV6_AUTOCONFIG
|
||||
#define ESP_IPV6_AUTOCONFIG CONFIG_LWIP_IPV6_AUTOCONFIG
|
||||
#endif
|
||||
|
||||
#ifdef ESP_IRAM_ATTR
|
||||
#undef ESP_IRAM_ATTR
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user