diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-05-01 17:56:23 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:40:59 -0400 |
| commit | 27141ea94e4ec770f2df8cca3840ac8c3bc101c1 (patch) | |
| tree | 7b0e90c7866fcf7f4cf092ca9c21db34ebbdf97f /lib/zclient.h | |
| parent | 2f35a820bf51f114c3c382f65c2dd3e1e9b67194 (diff) | |
lib, zebra: Add ability to send down a nhgid over route install
Modify the send down of a route to use the nexthop group id
if we have one associated with the route.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 40f345a1be..b7850cdec7 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -374,6 +374,7 @@ struct zclient { #define ZAPI_MESSAGE_SRCPFX 0x20 /* Backup nexthops are present */ #define ZAPI_MESSAGE_BACKUP_NEXTHOPS 0x40 +#define ZAPI_MESSAGE_NHG 0x80 /* * This should only be used by a DAEMON that needs to communicate @@ -518,6 +519,8 @@ struct zapi_route { uint16_t backup_nexthop_num; struct zapi_nexthop backup_nexthops[MULTIPATH_NUM]; + uint32_t nhgid; + uint8_t distance; uint32_t metric; |
