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 /proto/bgp/bgp.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 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 2651677c..f9a19d53 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -150,6 +150,7 @@ struct bgp_channel_config { u8 ext_next_hop; /* Allow both IPv4 and IPv6 next hops */ u8 add_path; /* Use ADD-PATH extension [RFC 7911] */ u8 import_table; /* Use c.in_table as Adj-RIB-In */ + u8 export_table; /* Use c.out_table as Adj-RIB-Out */ struct rtable_config *igp_table_ip4; /* Table for recursive IPv4 next hop lookups */ struct rtable_config *igp_table_ip6; /* Table for recursive IPv6 next hop lookups */ |