lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Using ARP to get MAC address


From: Kieran Mansley
Subject: Re: [lwip-users] Using ARP to get MAC address
Date: Mon, 20 Feb 2012 19:35:50 +0000

On 19 Feb 2012, at 13:42, Tomas D. wrote:

>> If find_entry() is returning 0 (i.e. it has a row for that IP addr at index 
>> 0) but etharp_find_addr() is returning -1 that must mean that the 
>> arp_table.state for that row is not ETHARP_STATE_STABLE.  What is it?  That 
>> will show you the problem.
>> 
> Hello,
> exactly, find_entry() returns 0 as index, but arp_table.state returns 
> ETHARP_STATE_PENDING. I can't get it to go ETHARP_STATE_STABLE. Maybe someone 
> could drop me some pointers how to solve this?

Are you getting a valid ARP response from the other end?  It might be worth 
tracing through what happens in lwIP when that packet is received to see why it 
doesn't transition to STABLE as a result.

Kieran


reply via email to

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