On Fri, May 17, 2013 at 03:27:51PM +0300, Mihail wrote:
From: "mihail.costea90@gmail.com" mihail.costea90@gmail.com
Added functions needed for NDP snooping, like getting the IPv6 addresses or getting the target HW address from an Neighbor Advertisement (NA). Also added functions to create NA for Neighbor Solicitations that have already the HW address in DAT.
Problems: I have to generate router and override flags for NA. For now I don't now exactly how to get them. From what I've seen, batman could now which nodes are routers, but for override flag, we should find a mechanism to know if the node is proxy or has anycast address. For inspiration I have used the code at: <net/ipv6/ndisc.c>.
What is the concept you have in mind? Maybe you first explain a bit more about your idea so that we can help you in find a way to implement that.
You want to edit the router address and flags carried by the NA?