diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2015-07-24 18:02:07 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-07-24 18:02:07 +0200 |
commit | 538264cf1a7690d90b2953aebff21958c2b55c44 (patch) | |
tree | b7a6774046d2a1362c5fab6be1da7ad35f754d73 /nest/bfd.h | |
parent | 1321e12ac460bd542d3946a0c4a4dacd71157cfa (diff) |
Static: Support for BFD controlled static routes
Diffstat (limited to 'nest/bfd.h')
-rw-r--r-- | nest/bfd.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |