summaryrefslogtreecommitdiffstats
path: root/nest/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/nest/route.h b/nest/route.h
index c41ebf6..e954284 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -141,14 +141,15 @@ typedef struct rtable {
bird_clock_t gc_time; /* Time of last GC */
byte gc_scheduled; /* GC is scheduled */
byte hcu_scheduled; /* Hostcache update is scheduled */
- byte nhu_state_unicast; /* Next Hop Update state */
- byte nhu_state_multicast; /* Next Hop Update state (multicast) */
- struct fib_iterator nhu_fit_unicast; /* Next Hop Update FIB iterator */
- struct fib_iterator nhu_fit_multicast; /* Next Hop Update FIB iterator (multicast) */
+ byte nhu_state_unicast; /* Next Hop Update state */
+ byte nhu_state_multicast; /* Next Hop Update state (multicast) */
+ struct fib_iterator nhu_fit_unicast; /* Next Hop Update FIB iterator */
+ struct fib_iterator nhu_fit_multicast;/* Next Hop Update FIB iterator (multicast) */
} rtable;
typedef struct network {
struct fib_node n; /* FIB flags reserved for kernel syncer */
+ int cast; /* Unicast/Multicast flag */
struct rte *routes; /* Available routes for this network */
} net;