aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/neighbour.h
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@aristanetworks.com>2009-03-04 03:03:08 -0500
committerDavid S. Miller <davem@davemloft.net>2009-03-04 03:03:08 -0500
commit0c5c2d3089068d4aa378f7a40d2b5ad9d4f52ce8 (patch)
tree8c7e6c54410e5730f26ea4bc634ae5c1ef47da8b /include/linux/neighbour.h
parentfc1f9ea51de726b3b8003539788d918814c9deff (diff)
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>
Diffstat (limited to 'include/linux/neighbour.h')
-rw-r--r--include/linux/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/neighbour.h b/include/linux/neighbour.h
index 8730d5dae1bc..12c9de138451 100644
--- a/include/linux/neighbour.h
+++ b/include/linux/neighbour.h
@@ -31,6 +31,7 @@ enum
31 * Neighbor Cache Entry Flags 31 * Neighbor Cache Entry Flags
32 */ 32 */
33 33
34#define NTF_USE 0x01
34#define NTF_PROXY 0x08 /* == ATF_PUBL */ 35#define NTF_PROXY 0x08 /* == ATF_PUBL */
35#define NTF_ROUTER 0x80 36#define NTF_ROUTER 0x80
36 37