RTNH_F_EXTERNAL today is printed as "offload" in iproute2 output. This patch renames the flag to be consistent with what the user sees.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -337,7 +337,7 @@ struct rtnexthop { · 336 unmodified lines | ||
| 337 | 337 | #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ |
| 338 | 338 | #define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */ |
| 339 | 339 | #define RTNH_F_ONLINK 4 /* Gateway is forced on link */ |
| 340 | −#define RTNH_F_EXTERNAL 8 /* Route installed externally */ | |
| 340 | +#define RTNH_F_OFFLOAD 8 /* offloaded route */ | |
| 341 | 341 | |
| 342 | 342 | /* Macros to handle hexthops */ |
| 343 | 343 | |