mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
update to lwIP-2.1.0: partial SACK support by default (de-selectable in menu) (#5126)
* update to lwIP-2.1.0rc1: partial SACK support fix #4176 * hash fix * get some flash back due to mistake in conf (fragmentation & reassembly was incorrectly enabled) (ahah I scared you) * add missing include files * update to lwip-2.1.0(release) + remove unused lwIP's include files * lwIP release 2.1.0, SACK is now default, bigger, no-SACK is selectable * fix ldscript * pio * rename 'sack' option to 'feat'ure option, + IP fragmentation/reassembly * merge, fix pio * change internal/hidden string * pio: more lwip2 configuration: + without sack for no change in flash footprint
This commit is contained in:
@ -56,6 +56,11 @@ extern "C" {
|
||||
#endif /* LWIP_DEBUG*/
|
||||
#endif
|
||||
|
||||
/** Returned by sys_timeouts_sleeptime() to indicate there is no timer, so we
|
||||
* can sleep forever.
|
||||
*/
|
||||
#define SYS_TIMEOUTS_SLEEPTIME_INFINITE 0xFFFFFFFF
|
||||
|
||||
/** Function prototype for a stack-internal timer function that has to be
|
||||
* called at a defined interval */
|
||||
typedef void (* lwip_cyclic_timer_handler)(void);
|
||||
@ -71,8 +76,10 @@ struct lwip_cyclic_timer {
|
||||
};
|
||||
|
||||
/** This array contains all stack-internal cyclic timers. To get the number of
|
||||
* timers, use LWIP_ARRAYSIZE() */
|
||||
* timers, use lwip_num_cyclic_timers */
|
||||
extern const struct lwip_cyclic_timer lwip_cyclic_timers[];
|
||||
/** Array size of lwip_cyclic_timers[] */
|
||||
extern const int lwip_num_cyclic_timers;
|
||||
|
||||
#if LWIP_TIMERS
|
||||
|
||||
@ -104,13 +111,13 @@ void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg);
|
||||
|
||||
void sys_untimeout(sys_timeout_handler handler, void *arg);
|
||||
void sys_restart_timeouts(void);
|
||||
#if NO_SYS
|
||||
void sys_check_timeouts(void);
|
||||
u32_t sys_timeouts_sleeptime(void);
|
||||
#else /* NO_SYS */
|
||||
void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
||||
#endif /* NO_SYS */
|
||||
|
||||
#if LWIP_TESTMODE
|
||||
struct sys_timeo** sys_timeouts_get_next_timeout(void);
|
||||
void lwip_cyclic_timer(void *arg);
|
||||
#endif
|
||||
|
||||
#endif /* LWIP_TIMERS */
|
||||
|
||||
|
Reference in New Issue
Block a user