diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-06-23 10:27:56 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-06-23 11:23:37 -0400 | 
| commit | c704cb44a9874079616acfd94f2315f29392e30f (patch) | |
| tree | 3067150be4602a5dd62e57dce8a585f74079a1b6 /lib/nexthop.h | |
| parent | 52e8a7c4f000a0396cbaf9f22d1ae372b745ba23 (diff) | |
lib, zebra: Notice when a nexthop is set linkdown
When a nexthop is set RTNH_F_LINKDOWN, start noticing
that this flag is set.  Allow FRR to know about this
flag but at this point do not do anything with it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/nexthop.h')
| -rw-r--r-- | lib/nexthop.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index c939fd37e3..f1309aa525 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -95,6 +95,7 @@ struct nexthop {  #define NEXTHOP_FLAG_HAS_BACKUP (1 << 6)    /* Backup nexthop index is set */  #define NEXTHOP_FLAG_SRTE       (1 << 7) /* SR-TE color used for BGP traffic */  #define NEXTHOP_FLAG_EVPN       (1 << 8) /* nexthop is EVPN */ +#define NEXTHOP_FLAG_LINKDOWN   (1 << 9) /* is not removed on link down */  #define NEXTHOP_IS_ACTIVE(flags)                                               \  	(CHECK_FLAG(flags, NEXTHOP_FLAG_ACTIVE)                                \  | 
