diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2018-09-11 09:39:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-12 20:30:03 -0700 |
commit | 435f2e7cc0b783615d7fbcf08f5f00d289f9caeb (patch) | |
tree | 5f5f9be24f4b7e60cc7b722556791f14c6fe622e /include | |
parent | 15665342d48ba7fc7c2284663332381bc3083d33 (diff) |
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')
-rw-r--r-- | include/uapi/linux/neighbour.h | 1 |
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 /* |