summaryrefslogtreecommitdiff
path: root/sharpd/sharp_zebra.h
diff options
context:
space:
mode:
authorHiroki Shirokura <slank.dev@gmail.com>2020-12-06 17:13:19 +0900
committerMark Stapp <mjs@voltanet.io>2021-06-02 10:24:47 -0400
commitc27b47d7916d0abd558fed46ba2c6e11d2573b3f (patch)
tree2a7c3160b5051dfc40c27ce991a67261502b78df /sharpd/sharp_zebra.h
parentd49e6c4afd864653e6d384d314872c0ae95f1963 (diff)
sharpd: install_routes_helper support ZAPI_ROUTE flags (step1)
current route addition mechanism on shaprd support only ipv4/v6 nexthop routes simply. so It doesn't need to ensure flags of zapi_routes. Then when we want to configure more complicated routing feature (like a srv6), we will want to control flags of zapi_route. In this patch, it will supports to configure flags of zapi_route when sharpd calls ZEBRA_ROUTE_ADD. Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'sharpd/sharp_zebra.h')
-rw-r--r--sharpd/sharp_zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h
index 4355f49a2f..495ce6ec58 100644
--- a/sharpd/sharp_zebra.h
+++ b/sharpd/sharp_zebra.h
@@ -39,7 +39,7 @@ extern void sharp_install_routes_helper(struct prefix *p, vrf_id_t vrf_id,
uint8_t instance, uint32_t nhgid,
const struct nexthop_group *nhg,
const struct nexthop_group *backup_nhg,
- uint32_t routes, char *opaque);
+ uint32_t routes, uint32_t flags, char *opaque);
extern void sharp_remove_routes_helper(struct prefix *p, vrf_id_t vrf_id,
uint8_t instance, uint32_t routes);