Add new RTNH_F_EXTERNAL flag to mark fib entries offloaded externally, for example to a switchdev switch device.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -334,6 +334,7 @@ struct rtnexthop { · 333 unmodified lines | ||
| 334 | 334 | #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ |
| 335 | 335 | #define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */ |
| 336 | 336 | #define RTNH_F_ONLINK 4 /* Gateway is forced on link */ |
| 337 | +#define RTNH_F_EXTERNAL 8 /* Route installed externally */ | |
| 337 | 338 | |
| 338 | 339 | /* Macros to handle hexthops */ |
| 339 | 340 | |