diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-08-13 18:22:07 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-08-14 06:02:33 +0200 |
commit | b7d7599ce3576f28310af18b403fed49a0840b67 (patch) | |
tree | 7d7dc8f052d564c3fdbc49eea529f22850ab44ff /nest/route.h | |
parent | dfe63ed84d42178a53b01071c64f23250e74d6d9 (diff) |
BGP: implement Adj-RIB-Out
The patch implements optional internal export table to a channel and
hooks it to BGP so it can be used as Adj-RIB-Out. When enabled, all
exported (post-filtered) routes are stored there. An export table can be
examined using e.g. 'show route export table bgp1.ipv4'.
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h index 8d799454..f4f32ce0 100644 --- a/nest/route.h +++ b/nest/route.h @@ -320,6 +320,7 @@ int rte_update_in(struct channel *c, const net_addr *n, rte *new, struct rte_src int rt_reload_channel(struct channel *c); void rt_reload_channel_abort(struct channel *c); void rt_prune_sync(rtable *t, int all); +int rte_update_out(struct channel *c, const net_addr *n, rte *new, rte *old0, int refeed); struct rtable_config *rt_new_table(struct symbol *s, uint addr_type); |