diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-08 13:58:32 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-29 18:37:24 +0200 |
commit | 7e24fdf333e8ffe78403788d824eae110c6e65bf (patch) | |
tree | 08564ff89be16bb9928acb85ffdd05d7e31a196f /zebra/zebra_vrf.h | |
parent | zebra: Allow a static daemon to connect (diff) | |
download | frr-7e24fdf333e8ffe78403788d824eae110c6e65bf.tar.xz frr-7e24fdf333e8ffe78403788d824eae110c6e65bf.zip |
staticd: Start the addition of a staticd
This is the start of separating out the static
handling code from zebra -> staticd. This will
help simplify the zebra code and isolate static
route handling to it's own code base.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r-- | zebra/zebra_vrf.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h index 5c5d2f522..b8664f4ec 100644 --- a/zebra/zebra_vrf.h +++ b/zebra/zebra_vrf.h @@ -53,9 +53,6 @@ struct zebra_vrf { /* Routing table. */ struct route_table *table[AFI_MAX][SAFI_MAX]; - /* Static route configuration. */ - struct route_table *stable[AFI_MAX][SAFI_MAX]; - /* Recursive Nexthop table */ struct route_table *rnh_table[AFI_MAX]; @@ -159,8 +156,7 @@ extern struct zebra_vrf *zebra_vrf_lookup_by_id(vrf_id_t vrf_id); extern struct zebra_vrf *zebra_vrf_lookup_by_name(const char *); extern struct zebra_vrf *zebra_vrf_alloc(void); extern struct route_table *zebra_vrf_table(afi_t, safi_t, vrf_id_t); -extern struct route_table *zebra_vrf_static_table(afi_t, safi_t, - struct zebra_vrf *zvrf); + extern struct route_table * zebra_vrf_other_route_table(afi_t afi, uint32_t table_id, vrf_id_t vrf_id); extern int zebra_vrf_has_config(struct zebra_vrf *zvrf); |