diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-10-24 09:49:40 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-11-04 13:34:27 -0400 |
| commit | ca2b3467830877ca279a7bad6d8c2d162fa45e8e (patch) | |
| tree | a8fff8d87c37c95bf2dc1f002ee945222de31525 /lib/zclient.h | |
| parent | f3c6dd49f47d4d092a43d55d4af87521a323b3ae (diff) | |
*: Add ability to encode / decode resilence down zapi
At this point add abilty for the encode/decode of the
resilience down ZAPI to zebra. Just hookup sharpd
at this point in time.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index fb5da9aad2..31ab60485e 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -35,6 +35,8 @@ struct zclient; /* For union g_addr */ #include "nexthop.h" +/* For resilience */ +#include "nexthop_group.h" /* For union pw_protocol_fields */ #include "pw.h" @@ -463,6 +465,8 @@ struct zapi_nhg { uint16_t proto; uint32_t id; + struct nhg_resilience resilience; + uint16_t nexthop_num; struct zapi_nexthop nexthops[MULTIPATH_NUM]; |
