optimization TCPv6 connect

This commit is contained in:
xueyunfei 2020-03-19 11:24:06 +08:00
parent 9e70825d1e
commit 1cb4cd5ec6
3 changed files with 8 additions and 1 deletions

@ -1 +1 @@
Subproject commit da2740fa8d56b9b9e8a10602f38df1ea4dbd9b74
Subproject commit 453b291c4c0752e05b585a62d32d8bb23e1538d7

View file

@ -777,6 +777,7 @@
#define ESP_LWIP 1
#define ESP_LWIP_ARP 1
#define ESP_IPV6 1
#define ESP_PER_SOC_TCP_WND 0
#define ESP_THREAD_SAFE 1
#define ESP_THREAD_SAFE_DEBUG LWIP_DBG_OFF

View file

@ -81,6 +81,12 @@ low_level_init(struct netif *netif)
#endif
#endif
#if ESP_IPV6
#if LWIP_IPV6 && LWIP_IPV6_MLD
netif->flags |= NETIF_FLAG_MLD6;
#endif
#endif
#if !ESP_L2_TO_L3_COPY
netif->l2_buffer_free_notify = esp_wifi_internal_free_rx_buffer;
#endif