summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_mplsvpn.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-17 14:21:03 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-25 18:39:17 +0200
commit1d4e8b0d990080c2e65d105348c472e407e1d19a (patch)
tree28262b3f5594d330957c2f224395018c6f4d4473 /bgpd/bgp_mplsvpn.h
parentbgpd: Fix SA warning found by clang. (diff)
downloadfrr-1d4e8b0d990080c2e65d105348c472e407e1d19a.tar.xz
frr-1d4e8b0d990080c2e65d105348c472e407e1d19a.zip
bgpd: Add some vrf <-> vrf code comments
Note that when we are importing vrf EVA into vrf DONNA we must keep track of all the vrfs EVA is being exported into and we must also keep track of all the vrf's that DONNA is receiving data from as well. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_mplsvpn.h')
-rw-r--r--bgpd/bgp_mplsvpn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_mplsvpn.h b/bgpd/bgp_mplsvpn.h
index 5fcfe2d71..384108dc0 100644
--- a/bgpd/bgp_mplsvpn.h
+++ b/bgpd/bgp_mplsvpn.h
@@ -78,9 +78,9 @@ extern void vpn_leak_to_vrf_withdraw(struct bgp *bgp_vpn,
extern void vpn_leak_zebra_vrf_label_update(struct bgp *bgp, afi_t afi);
extern void vpn_leak_zebra_vrf_label_withdraw(struct bgp *bgp, afi_t afi);
extern int vpn_leak_label_callback(mpls_label_t label, void *lblid, bool alloc);
-extern void vrf_import_from_vrf(struct bgp *bgp, struct bgp *vrf_bgp,
+extern void vrf_import_from_vrf(struct bgp *to_bgp, struct bgp *from_bgp,
afi_t afi, safi_t safi);
-void vrf_unimport_from_vrf(struct bgp *bgp, struct bgp *vrf_bgp,
+void vrf_unimport_from_vrf(struct bgp *to_bgp, struct bgp *from_bgp,
afi_t afi, safi_t safi);
static inline int vpn_leak_to_vpn_active(struct bgp *bgp_vrf, afi_t afi,