lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Dropped UDP packages


From: Andrew Foster
Subject: Re: [lwip-users] Dropped UDP packages
Date: Thu, 18 Aug 2011 09:10:32 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.11

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]