summaryrefslogtreecommitdiff
path: root/zebra/zebra_ptm.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-06-27 13:40:50 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-08 18:25:04 -0300
commitd3af6147a1fce0a72e4a890b4526b122761e8555 (patch)
tree3f98d12741a9af0bb476d87f5e84bc41e7e1f381 /zebra/zebra_ptm.h
parentc2f29cf3d703e941d86c403682f9b76332bfdd6d (diff)
bfdd: re-route PTM-BFD daemon messages
When `bfdd` is enabled - which it is by default - re-route the PTM-BFD messages to the FRR's internal BFD daemon instead of the external PTM daemon. This will help the migration of BFD implementations and avoid duplicating code. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_ptm.h')
-rw-r--r--zebra/zebra_ptm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_ptm.h b/zebra/zebra_ptm.h
index 0e55574a02..ada4f7b4f7 100644
--- a/zebra/zebra_ptm.h
+++ b/zebra/zebra_ptm.h
@@ -69,6 +69,9 @@ int zebra_ptm_get_enable_state(void);
void zebra_ptm_bfd_dst_register(ZAPI_HANDLER_ARGS);
void zebra_ptm_bfd_dst_deregister(ZAPI_HANDLER_ARGS);
void zebra_ptm_bfd_client_register(ZAPI_HANDLER_ARGS);
+#if HAVE_BFDD > 0
+void zebra_ptm_bfd_dst_replay(ZAPI_HANDLER_ARGS);
+#endif /* HAVE_BFDD */
void zebra_ptm_show_status(struct vty *vty, struct interface *ifp);
void zebra_ptm_if_init(struct zebra_if *zebra_ifp);