diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-04-27 05:25:27 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-07-05 17:49:36 +0200 |
commit | 6a3ae11c9b1480966b22d4f9b67a40b76d96aa15 (patch) | |
tree | c01ee9579924a91b3970c76ad412ac5e55a0ab20 /zebra/zebra_vrf.h | |
parent | Merge pull request #13875 from donaldsharp/static_dplane_issues (diff) | |
download | frr-6a3ae11c9b1480966b22d4f9b67a40b76d96aa15.tar.xz frr-6a3ae11c9b1480966b22d4f9b67a40b76d96aa15.zip |
zebra: Rename vrf_lookup_by_tableid to zebra_vrf_lookup..
Rename the vrf_lookup_by_id function to zebra_vrf_lookup_by_id
and move to zebra_vrf.c where it nominally belongs, as that
we need zebra specific data to find this vrf_id and as such
it does not belong in vrf.c
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r-- | zebra/zebra_vrf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h index b23b72826..aef83cd8f 100644 --- a/zebra/zebra_vrf.h +++ b/zebra/zebra_vrf.h @@ -237,6 +237,7 @@ extern struct route_table *zebra_vrf_get_table_with_table_id(afi_t afi, extern void zebra_vrf_update_all(struct zserv *client); 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 vrf_id_t zebra_vrf_lookup_by_table(uint32_t table_id, ns_id_t ns_id); extern struct zebra_vrf *zebra_vrf_alloc(struct vrf *vrf); extern struct route_table *zebra_vrf_table(afi_t, safi_t, vrf_id_t); |