[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Static ARP entries
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Static ARP entries |
Date: |
Mon, 10 Aug 2009 12:10:48 +0100 |
On Tue, 2009-08-04 at 14:19 +0200, Małowidzki, Marek wrote:
> Hi,
>
> It seems that in the current release, 1.3.0, it is impossible to add
> static ARP entries. Would you consider making update_arp_entry()
> public?
I wouldn't have a problem with that, but as a workaround you should be
able to call etharp_ip_input() with a suitable faked packet in the pbuf
to get the same effect.
You might need to give some thought to locking to ensure that this
doesn't conflict with code on the receive path that is trying to also
update the ARP cache.
Kieran