summaryrefslogtreecommitdiff
path: root/lib/bfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bfd.h')
-rw-r--r--lib/bfd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/bfd.h b/lib/bfd.h
index b7e4eea5f3..91e6d77993 100644
--- a/lib/bfd.h
+++ b/lib/bfd.h
@@ -473,6 +473,15 @@ extern bool bfd_protocol_integration_debug(void);
*/
extern bool bfd_protocol_integration_shutting_down(void);
+extern void bfd_nht_zclient_connected(struct zclient *zclient);
+
+/* Update nexthop-tracking (nht) information for BFD auto source selection.
+ * The function must be called from the daemon callback function
+ * that deals with the ZEBRA_NEXTHOP_UPDATE zclient command
+ */
+extern int bfd_nht_update(const struct prefix *match,
+ const struct zapi_route *route);
+
#ifdef __cplusplus
}
#endif