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: Tomas D.
Subject: Re: [lwip-users] Using ARP to get MAC address
Date: Wed, 22 Feb 2012 17:59:12 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

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.

Hello,
found the problem, just forgot to post here.
The problem was that I didn't check for incoming packets with ethernetif_input(). The packet was sent, reply received, but not processed, so the ARP entry was left as PENDING until ethernetif_input() processed the ARP reply and updated the table to STABLE.

Silly problem, sorry.

Thank You for Your time and support.

Tomas D.




reply via email to

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