[LT] Add vendor changes from bdk_freertos/v2.0.2 (opts)

This commit is contained in:
Kuba Szczodrzyński
2022-08-25 22:27:50 +02:00
parent c195d2acdf
commit 898a3a5f07
3 changed files with 10 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ extern "C" {
/** period (in milliseconds) of the application calling dhcp_coarse_tmr() */
#define DHCP_COARSE_TIMER_MSECS (DHCP_COARSE_TIMER_SECS * 1000UL)
/** period (in milliseconds) of the application calling dhcp_fine_tmr() */
#define DHCP_FINE_TIMER_MSECS 500
#define DHCP_FINE_TIMER_MSECS 100
#define DHCP_BOOT_FILE_LEN 128U

View File

@@ -828,6 +828,14 @@
#if !defined IP_FORWARD_ALLOW_TX_ON_RX_NETIF || defined __DOXYGEN__
#define IP_FORWARD_ALLOW_TX_ON_RX_NETIF 0
#endif
/**
* LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS==1: randomize the local port for the first
* local TCP/UDP pcb (default==0). This can prevent creating predictable port
* numbers after booting a device.
*/
#if !defined LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS || defined __DOXYGEN__
#define LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS 1
#endif
/**
* @}
*/

View File

@@ -515,7 +515,7 @@ struct pollfd
/** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
* by your system, set this to 0 and include <sys/time.h> in cc.h */
#ifndef LWIP_TIMEVAL_PRIVATE
#define LWIP_TIMEVAL_PRIVATE 1
#define LWIP_TIMEVAL_PRIVATE 0
#endif
#if LWIP_TIMEVAL_PRIVATE