lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] multiple IP addresses on network interface


From: Simon Goldschmidt
Subject: Re: [lwip-users] multiple IP addresses on network interface
Date: Mon, 10 Dec 2012 07:48:57 +0100

Artem Pisarenko wrote:
> During last days I've prepared workaround which should work for most 
> cases. It assumes that application will not delete or reconfigure 
> assigned interfaces during runtime (also DHCP isn't allowed, although 
> it's allowed on 32bit systems where netif->ip_addr change is atomic 
> operation).

I've did something similar, but I used the macros LWIP_ARP_FILTER_NETIF and 
LWIP_ARP_FILTER_NETIF_FN() to execute the filter in the function 
ethernet_input() (in etharp.c), which is called from the correct thread, so no 
threading issues there (and I can directly walk the netif list and compare the 
current address without extra array allocation needed).


Simon



reply via email to

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