lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip_stats, ETHARP_STATS


From: Simon Goldschmidt
Subject: Re: [lwip-users] lwip_stats, ETHARP_STATS
Date: Mon, 26 Sep 2011 16:05:14 +0200

"Walter Saegesser" <address@hidden> wrote:

I recently had a look at the statistics and found in lwip_stats.etharp

Transmitted       4

Received             81

Dropped              48

Protocol error    48

Cache hit             41000

 

Now, 48 of 81 errors looks somehow alarming. Or is this normal? Where do these errors come from?

Have a look at etharp.c at the places where both dropped and err are increased an you see where it can come from! Most certainly, there has been something from with received ARP packets (etharp.c), but these counters could also be increased in your netif driver source file.

In etharp.c, there are multiple places where both counters are increased, so you might want to either debug this or add additional counters to see which one fired.

Simon

reply via email to

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