|
From: | address@hidden |
Subject: | Re: [lwip-devel] Re: generate a broadcast answer... |
Date: | Mon, 09 Mar 2009 22:02:41 +0100 |
User-agent: | Thunderbird 2.0.0.19 (Macintosh/20081209) |
Piero 74 wrote:
If you *know* the IP address of the PC, you could use etharp_request() which directly sends an ARP request. You can also use that to re-request the addresses in the ARP table. If you put that code into etharp_tmr (with a counter per entry), you have a periodic refresh of the whole table....i'm thinking: after a first arp request from pc (ping or tcp connect) i will have a couple ip-macAddress in my arp table. can i force a refresh in some way?
Only one question: why would you need that? If you set ARP_MAXAGE low enough, arp entries automatically get invalidated after a timeout and will be re-requested if reused.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |