summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/neighbour.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov2018-09-11 08:39:53 +0200
committerDavid S. Miller2018-09-13 05:30:03 +0200
commit435f2e7cc0b783615d7fbcf08f5f00d289f9caeb (patch)
tree5f5f9be24f4b7e60cc7b722556791f14c6fe622e /include/uapi/linux/neighbour.h
parentMerge branch 'Preparing-for-phylib-linkmodes' (diff)
downloadkernel-qcow2-linux-435f2e7cc0b783615d7fbcf08f5f00d289f9caeb.tar.gz
kernel-qcow2-linux-435f2e7cc0b783615d7fbcf08f5f00d289f9caeb.tar.xz
kernel-qcow2-linux-435f2e7cc0b783615d7fbcf08f5f00d289f9caeb.zip
net: bridge: add support for sticky fdb entries
Add support for entries which are "sticky", i.e. will not change their port if they show up from a different one. A new ndm flag is introduced for that purpose - NTF_STICKY. We allow to set it only to non-local entries. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/neighbour.h')
-rw-r--r--include/uapi/linux/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h
index 904db6148476..998155444e0d 100644
--- a/include/uapi/linux/neighbour.h
+++ b/include/uapi/linux/neighbour.h
@@ -43,6 +43,7 @@ enum {
#define NTF_PROXY 0x08 /* == ATF_PUBL */
#define NTF_EXT_LEARNED 0x10
#define NTF_OFFLOADED 0x20
+#define NTF_STICKY 0x40
#define NTF_ROUTER 0x80
/*