summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-04-15 15:07:58 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-04-15 15:07:58 +0200
commit00a09f3c367e79297f827b52ec5f16842db1ac4e (patch)
treea8744e176e5b2852cddd82f3b99d98711ec10074 /nest/route.h
parentbf2abe2f515d7b7aaed5fb4f37af82169adcd2f2 (diff)
Implement RA_ACCEPTED mode of route propagation.
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nest/route.h b/nest/route.h
index 34536609..59daf803 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -219,11 +219,12 @@ typedef struct rte {
} u;
} rte;
-#define REF_COW 1 /* Copy this rte on write */
+#define REF_COW 1 /* Copy this rte on write */
/* Types of route announcement, also used as flags */
-#define RA_OPTIMAL 1 /* Announcement of optimal route change */
-#define RA_ANY 2 /* Announcement of any route change */
+#define RA_OPTIMAL 1 /* Announcement of optimal route change */
+#define RA_ACCEPTED 2 /* Announcement of first accepted route */
+#define RA_ANY 3 /* Announcement of any route change */
struct config;