summaryrefslogtreecommitdiffstats
path: root/isisd/isis_route.h
diff options
context:
space:
mode:
authorJosh Bailey <joshb@google.com>2012-03-24 16:35:20 +0100
committerAvneesh Sachdev <avneesh@opensourcerouting.org>2012-04-07 22:54:37 +0200
commit3f045a08812525505e165deea99a79447b44506b (patch)
treea5c944b0584e0e5a14908a2ac9476637e7c1d7e6 /isisd/isis_route.h
parentzebra: tweak deletion of routes without nexthop addr (diff)
downloadfrr-3f045a08812525505e165deea99a79447b44506b.tar.xz
frr-3f045a08812525505e165deea99a79447b44506b.zip
isisd: add Google's changes to IS-IS
Diffstat (limited to 'isisd/isis_route.h')
-rw-r--r--isisd/isis_route.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/isisd/isis_route.h b/isisd/isis_route.h
index 4eac79b86..1312400c8 100644
--- a/isisd/isis_route.h
+++ b/isisd/isis_route.h
@@ -43,8 +43,9 @@ struct isis_nexthop
struct isis_route_info
{
-#define ISIS_ROUTE_FLAG_ZEBRA_SYNC 0x01
-#define ISIS_ROUTE_FLAG_ACTIVE 0x02
+#define ISIS_ROUTE_FLAG_ACTIVE 0x01 /* active route for the prefix */
+#define ISIS_ROUTE_FLAG_ZEBRA_SYNCED 0x02 /* set when route synced to zebra */
+#define ISIS_ROUTE_FLAG_ZEBRA_RESYNC 0x04 /* set when route needs to sync */
u_char flag;
u_int32_t cost;
u_int32_t depth;
@@ -59,6 +60,9 @@ struct isis_route_info *isis_route_create (struct prefix *prefix,
struct list *adjacencies,
struct isis_area *area, int level);
-int isis_route_validate (struct thread *thread);
+void isis_route_validate (struct isis_area *area);
+void isis_route_invalidate_table (struct isis_area *area,
+ struct route_table *table);
+void isis_route_invalidate (struct isis_area *area);
#endif /* _ZEBRA_ISIS_ROUTE_H */