[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwIP and Ping
From: |
HM2 |
Subject: |
Re: [lwip-users] lwIP and Ping |
Date: |
Wed, 19 Nov 2008 10:17:26 -0800 |
Why then is the sys_now() prototype in sys.h ? To me that would suggest
that the function belongs in sys.c
If you want the function in arch_sys.c, why isn't the prototype in
arch_sys.h ?
>From what I can tell the types required that are missing come from
sys/time.h in Unix which does not exist in the lwIP file set. So those
items are going to need to be added somewhere, I guess in sys_arch.h
Chris.
----- Original Message -----
From: <address@hidden>
To: "Mailing list for lwIP users" <address@hidden>
Sent: Wednesday, November 19, 2008 9:31 AM
Subject: Re: [lwip-users] lwIP and Ping
> HM2 wrote:
> > However when I rename this to sys_now() and put it in sys.c and compile,
I
> > get the following:
> >
> > [...many warnings generated by missing include...]
> Of course there are warnings! Don't you know the 11th commandement:
> "Thogh shalt not modify the lwIP core code unless you know what you are
> doing."? The function sys_now() belongs, like Kieran already said, into
> sys_arch.c. Don't modify sys.c, it's fine as it is.
>
> I think sys_now() is supposed to return the elapsed miliseconds since
> lwIP was started.
>
> Simon
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, (continued)
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, Piero 74, 2008/11/19
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, HM2, 2008/11/19
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, Piero 74, 2008/11/20
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, HM2, 2008/11/20
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, Piero 74, 2008/11/21
- Re: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, HM2, 2008/11/21
- [lwip-users] lwIP and Ping, HM2, 2008/11/19
- Re: [lwip-users] lwIP and Ping, Kieran Mansley, 2008/11/19
- Re: [lwip-users] lwIP and Ping, HM2, 2008/11/19
- Re: [lwip-users] lwIP and Ping, address@hidden, 2008/11/19
- Re: [lwip-users] lwIP and Ping,
HM2 <=
- Re: [lwip-users] lwIP and Ping, address@hidden, 2008/11/19
- Re: [lwip-users] lwIP and Ping, HM2, 2008/11/19
- Re: [lwip-users] lwIP and Ping, Simon Goldschmidt, 2008/11/20
RE: [lwip-users] LPC2468+lwIP+FreeRTOS+GCC, Grubb, Jared, 2008/11/17