summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_bfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_bfd.h')
-rw-r--r--ospf6d/ospf6_bfd.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ospf6d/ospf6_bfd.h b/ospf6d/ospf6_bfd.h
new file mode 100644
index 0000000..e532ccc
--- /dev/null
+++ b/ospf6d/ospf6_bfd.h
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/**
+ * ospf6_bfd.h: OSPF6 BFD definitions and structures
+ *
+ * @copyright Copyright (C) 2015 Cumulus Networks, Inc.
+ */
+#include "lib/json.h"
+#ifndef OSPF6_BFD_H
+#define OSPF6_BFD_H
+#include "lib/json.h"
+
+/**
+ * Initialize BFD integration.
+ */
+extern void ospf6_bfd_init(void);
+
+extern void ospf6_bfd_trigger_event(struct ospf6_neighbor *nbr, int old_state,
+ int state);
+
+extern void ospf6_bfd_write_config(struct vty *vty, struct ospf6_interface *oi);
+
+extern void ospf6_bfd_info_nbr_create(struct ospf6_interface *oi,
+ struct ospf6_neighbor *on);
+
+#endif /* OSPF6_BFD_H */