summaryrefslogtreecommitdiffstats
path: root/nest/route.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-11-16 03:47:07 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-11-16 03:47:07 +0100
commit5b885bf70848908c7fed07c8efba18ea316379d4 (patch)
treeb4a94b0b5a49d2dd075a054270c386419c42900d /nest/route.h
parente6eee664723aa0e1d87eac65216cdf12636e3284 (diff)
downloadbird-5b885bf70848908c7fed07c8efba18ea316379d4.tar
bird-5b885bf70848908c7fed07c8efba18ea316379d4.zip
BGP: Allow receiving multicast routes
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;