summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-07-24 18:02:07 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-07-24 18:02:07 +0200
commit538264cf1a7690d90b2953aebff21958c2b55c44 (patch)
treeb7a6774046d2a1362c5fab6be1da7ad35f754d73 /nest
parent1321e12ac460bd542d3946a0c4a4dacd71157cfa (diff)
Static: Support for BFD controlled static routes
Diffstat (limited to 'nest')
-rw-r--r--nest/bfd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nest/bfd.h b/nest/bfd.h
index 79c3c921..f1e95cb2 100644
--- a/nest/bfd.h
+++ b/nest/bfd.h
@@ -32,6 +32,12 @@ struct bfd_request {
};
+#define BFD_STATE_ADMIN_DOWN 0
+#define BFD_STATE_DOWN 1
+#define BFD_STATE_INIT 2
+#define BFD_STATE_UP 3
+
+
#ifdef CONFIG_BFD
struct bfd_request * bfd_request_session(pool *p, ip_addr addr, ip_addr local, struct iface *iface, void (*hook)(struct bfd_request *), void *data);