summaryrefslogtreecommitdiff
path: root/staticd/static_nht.h
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_nht.h')
-rw-r--r--staticd/static_nht.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/staticd/static_nht.h b/staticd/static_nht.h
index 08dba2ebb5..c29acc32ef 100644
--- a/staticd/static_nht.h
+++ b/staticd/static_nht.h
@@ -37,19 +37,21 @@ extern "C" {
* vrf_id -> The vrf the nexthop is in.
*/
extern void static_nht_update(struct prefix *sp, struct prefix *nhp,
- uint32_t nh_num, afi_t afi, vrf_id_t vrf_id);
+ uint32_t nh_num, afi_t afi, safi_t safi,
+ vrf_id_t vrf_id);
/*
* For the given tracked nexthop, nhp, mark all routes that use
* this route as in starting state again.
*/
-extern void static_nht_reset_start(struct prefix *nhp, afi_t afi,
+extern void static_nht_reset_start(struct prefix *nhp, afi_t afi, safi_t safi,
vrf_id_t nh_vrf_id);
/*
* For the given prefix, sp, mark it as in a particular state
*/
-extern void static_nht_mark_state(struct prefix *sp, vrf_id_t vrf_id,
+extern void static_nht_mark_state(struct prefix *sp, safi_t safi,
+ vrf_id_t vrf_id,
enum static_install_states state);
/*