summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_bfd.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:16:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:16:35 +0000
commite2bbf175a2184bd76f6c54ccf8456babeb1a46fc (patch)
treef0b76550d6e6f500ada964a3a4ee933a45e5a6f1 /ospf6d/ospf6_bfd.h
parentInitial commit. (diff)
downloadfrr-e2bbf175a2184bd76f6c54ccf8456babeb1a46fc.tar.xz
frr-e2bbf175a2184bd76f6c54ccf8456babeb1a46fc.zip
Adding upstream version 9.1.upstream/9.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 */