diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-03-05 21:21:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-06 00:24:57 -0500 |
commit | 37ed9493699cc5dafe1b8725858ef73176fdc9d2 (patch) | |
tree | 0f2a7d71adc586e682e991ed710aec21a09c4a3b /include/uapi/linux/rtnetlink.h | |
parent | 24d2e4a50737867aba1e96a587ef0d90c17e3035 (diff) | |
download | op-kernel-dev-37ed9493699cc5dafe1b8725858ef73176fdc9d2.zip op-kernel-dev-37ed9493699cc5dafe1b8725858ef73176fdc9d2.tar.gz |
rtnetlink: add RTNH_F_EXTERNAL flag for fib offload
Add new RTNH_F_EXTERNAL flag to mark fib entries offloaded externally, for
example to a switchdev switch device.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/rtnetlink.h')
-rw-r--r-- | include/uapi/linux/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 06f75a4..c3722b0 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -334,6 +334,7 @@ struct rtnexthop { #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ #define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */ #define RTNH_F_ONLINK 4 /* Gateway is forced on link */ +#define RTNH_F_EXTERNAL 8 /* Route installed externally */ /* Macros to handle hexthops */ |