forked from espressif/esp-idf
Merge branch 'optimization/lwip_dns_ipv4_ipv6_timer' into 'master'
lwip:optimization dns ipv4 ipv6 timer Closes AUD-4073 See merge request espressif/esp-idf!20963
This commit is contained in:
Submodule components/lwip/lwip updated: 33912690ea...705dd71d46
@@ -1425,10 +1425,24 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
|
||||
#define ESP_LWIP_IGMP_TIMERS_ONDEMAND 1
|
||||
#define ESP_LWIP_MLD6_TIMERS_ONDEMAND 1
|
||||
#define ESP_LWIP_DHCP_FINE_TIMERS_ONDEMAND 1
|
||||
#define ESP_LWIP_DNS_TIMERS_ONDEMAND 1
|
||||
#if IP_REASSEMBLY
|
||||
#define ESP_LWIP_IP4_REASSEMBLY_TIMERS_ONDEMAND 1
|
||||
#endif /* IP_REASSEMBLY */
|
||||
#if LWIP_IPV6_REASS
|
||||
#define ESP_LWIP_IP6_REASSEMBLY_TIMERS_ONDEMAND 1
|
||||
#endif /* LWIP_IPV6_REASS */
|
||||
#else
|
||||
#define ESP_LWIP_IGMP_TIMERS_ONDEMAND 0
|
||||
#define ESP_LWIP_MLD6_TIMERS_ONDEMAND 0
|
||||
#define ESP_LWIP_DHCP_FINE_TIMERS_ONDEMAND 0
|
||||
#define ESP_LWIP_DNS_TIMERS_ONDEMAND 0
|
||||
#if IP_REASSEMBLY
|
||||
#define ESP_LWIP_IP4_REASSEMBLY_TIMERS_ONDEMAND 0
|
||||
#endif /* IP_REASSEMBLY */
|
||||
#if LWIP_IPV6_REASS
|
||||
#define ESP_LWIP_IP6_REASSEMBLY_TIMERS_ONDEMAND 0
|
||||
#endif /* LWIP_IPV6_REASS */
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user