summaryrefslogtreecommitdiffstats
path: root/proto/static/static.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-11-11 12:24:27 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-11-11 12:24:27 +0100
commitfe181e7c63843ad65401cc1e400ae1ac3187122f (patch)
treedf37b8d76084521bb33e749a70ea85f04f19e16d /proto/static/static.h
parentf25cb0ef9f6341648513e793a3162b32fc250d2b (diff)
downloadbird-fe181e7c63843ad65401cc1e400ae1ac3187122f.tar
bird-fe181e7c63843ad65401cc1e400ae1ac3187122f.zip
Adds support for iface link check to static protocol.
Diffstat (limited to 'proto/static/static.h')
-rw-r--r--proto/static/static.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/proto/static/static.h b/proto/static/static.h
index 5d2bd21..40da74c 100644
--- a/proto/static/static.h
+++ b/proto/static/static.h
@@ -11,10 +11,14 @@
struct static_config {
struct proto_config c;
- list iface_routes; /* Routes to search on interface events */
- list other_routes; /* Routes hooked to neighbor cache and reject routes */
+ list iface_routes; /* Routes to search on interface events */
+ list other_routes; /* Routes hooked to neighbor cache and reject routes */
+ int check; /* Condition for route install */
};
+#define STATIC_CHECK_NONE 0
+#define STATIC_CHECK_LINK 1
+
void static_init_config(struct static_config *);
struct static_route {