neigh: Allow for user space users of the neighbour table
authorEric Biederman <ebiederm@aristanetworks.com>
Wed, 4 Mar 2009 08:03:08 +0000 (00:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 08:03:08 +0000 (00:03 -0800)
commit0c5c2d3089068d4aa378f7a40d2b5ad9d4f52ce8
tree8c7e6c54410e5730f26ea4bc634ae5c1ef47da8b
parentfc1f9ea51de726b3b8003539788d918814c9deff
neigh: Allow for user space users of the neighbour table

Currently it is possible to do just about everything with the arp table
from user space except treat an entry like you are using it.  To that end
implement and a flag NTF_USE that when set in a netwlink update request
treats the neighbour table entry like the kernel does on the output path.

This allows user space applications to share the kernel's arp cache.

Signed-off-by: Eric Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/neighbour.h
net/core/neighbour.c