[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Dropped UDP packages
From: |
Emil Ohlsson |
Subject: |
Re: [lwip-users] Dropped UDP packages |
Date: |
Thu, 18 Aug 2011 16:26:47 +0200 |
Actually I'm using a TI Stellaris Cortex M3 (LM3S9B96). What kind of flaws
where you thinking of?
Thanks
Emil Ohlsson
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Andrew Foster
Sent: den 18 augusti 2011 15:11
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Dropped UDP packages
Emil,
I've had to debug a similar event on my target and found it helpful to get
familiar with stats.c. The various compiler switches can be found in
lwipopts.h(sounds like you are already aware of UDP_STATS.) More specifically,
look in to MEM, MEMP, PBUF and SYS stats. Verify you don't have any errors in
these paths before getting down and dirty with your ISR. I know the Luminary/TI
ISR has some flaws but hopefully your target platform's ISR has been
implemented correctly.
Hope this helps,
Andrew
On 08/18/2011 08:59 AM, Emil Ohlsson wrote:
> Hi!
>
> I'm writing and application that listens for RTP-packages via UDP multicast.
> But for some reason there is a small package drop, say 1 per 1000 packets.
>
> I've activated UDP stats and it seems like lwIP doesn't think there are any
> dropped packets, but from my application I can see that there are missing
> sequence numbers. And I can see that those packages are being sent using
> wireshark.
>
> Does lwIP discard packages if the application isn't fast enough to
> fetch them? Could there be any other thing I've missed? Could there be
> some memory issue? Any comments or ideas are very welcome
>
> Best regards
> Emil Ohlsson
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users