Yes, but sys_now is required even for timeouts for NO_SYS==0 (LWIP_TIMERS =
1). It this correct ?

On Wed, Mar 7, 2018 at 8:02 PM, [email protected] <[email protected]> wrote:

> On 07.03.2018 17:40, Mattia Settin wrote:
>
>> [..]
>> The question is:
>> It is now mandatory define/use sys_now() ?
>>
>
> You can do without, but a number of features new to 2.0.x (or improved
> there) require it. Right now, the list is:
> - timeouts for NO_SYS==1
> - LWIP_SO_SNDTIMEO
> - LWIP_SO_LINGER
> - lwiperf app
> - LWIP_TCP_TIMESTAMPS
> - PPPoS
>
> This list can grow longer in the future. As such, we can't ifdef out the
> prototype for these configs and it's always there. You can try without and
> you'll get a linker error once you enable code which actually uses it.
>
> Simon
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 
Mattia Settin
Software and System Engineer
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to