summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-03-31 18:44:54 -0700
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-09-16 16:38:28 -0700
commit3a059b045ad74aac8a2e77ccea362aef9ee975c1 (patch)
tree852d59b1f6ef50bc68e36922c07a5e956ac43127 /include
parent576cada54c96097b4e4db0ec742c671382a175fc (diff)
linux: UAPI for neigh sync
kernel header files for neigh sync support Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/neighbour.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/neighbour.h b/include/linux/neighbour.h
index 33c17af1cc..c06fe708f7 100644
--- a/include/linux/neighbour.h
+++ b/include/linux/neighbour.h
@@ -31,6 +31,7 @@ enum {
NDA_PROTOCOL, /* Originator of entry */
NDA_NH_ID,
NDA_NOTIFY,
+ NDA_EXT_FLAGS,
__NDA_MAX
};
@@ -49,6 +50,10 @@ enum {
#define NTF_STICKY 0x40
#define NTF_ROUTER 0x80
+/* Neighbor Cache Entry extended flags, part of NDA_EXT_FLAGS attribute */
+#define NTF_E_WEAK_OVERRIDE_STATE 0x01
+#define NTF_E_MH_PEER_SYNC 0x02
+
/*
* Neighbor Cache Entry States.
*/