On Tue, 2018-10-23 at 16:06 +0200, Sven Eckelmann wrote:
On Dienstag, 23. Oktober 2018 13:50:42 CEST Jonathan Haws wrote: [...]
And of course, Jonathan's IPv4 implementation must get the mac address using different methods. It is using the function ipv4_arp_request to get the information from IPv4 neighbor table. And it looks like his implementation is missing a reliable way to fill this neighbor table.
Yes - my plan is to implement a manual ARP request, which if that fails then the behavior will be as it is now. However, on success, it will have the correct MAC and everything will be good to go.
Manual ARP request sounds weird. What about
https://git.open-mesh.org/batctl.git/blob/83faa3126d6cc984fff10760aa975bacec...
and
https://git.open-mesh.org/batctl.git/blob/83faa3126d6cc984fff10760aa975bacec...
Are these new routines? I may have been looking at old code and don't remember seeing these there. I'm seeing that these will do what we need - perform a request on the network if the entry is not in the cache?
Thanks!