summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_evpn.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-09-27 15:45:42 +0200
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-08-18 18:25:06 +0200
commita237058f59d46af115dafa82c5ca1026418e0518 (patch)
treec20ab49e417b03bba47bb047f97b38eb3d71ec36 /zebra/zebra_evpn.c
parentzebra: zvni_from_svi() adaptation for other network namespaces (diff)
downloadfrr-a237058f59d46af115dafa82c5ca1026418e0518.tar.xz
frr-a237058f59d46af115dafa82c5ca1026418e0518.zip
zebra: zvni_map_to_svi() adaptation for other network namespaces
the function is called with all the network namespaces. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_evpn.c')
-rw-r--r--zebra/zebra_evpn.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c
index b704c32c5..eb9f99f2d 100644
--- a/zebra/zebra_evpn.c
+++ b/zebra/zebra_evpn.c
@@ -675,13 +675,6 @@ zebra_evpn_t *zebra_evpn_map_vlan(struct interface *ifp,
return zevpn;
}
-struct zevpn_from_svi_param {
- struct interface *br_if;
- struct zebra_if *zif;
- uint8_t bridge_vlan_aware;
- vlanid_t vid;
-};
-
static int zebra_evpn_from_svi_zns(struct zebra_ns *zns,
void *_in_param,
void **_p_zevpn)
@@ -693,8 +686,8 @@ static int zebra_evpn_from_svi_zns(struct zebra_ns *zns,
struct interface *tmp_if = NULL;
struct zebra_if *zif;
struct zebra_l2info_vxlan *vxl = NULL;
- struct zevpn_from_svi_param *in_param =
- (struct zevpn_from_svi_param *)_in_param;
+ struct zebra_from_svi_param *in_param =
+ (struct zebra_from_svi_param *)_in_param;
int found = 0;
if (!in_param)
@@ -745,7 +738,7 @@ zebra_evpn_t *zebra_evpn_from_svi(struct interface *ifp,
zebra_evpn_t *zevpn = NULL;
zebra_evpn_t **p_zevpn;
struct zebra_if *zif;
- struct zevpn_from_svi_param in_param;
+ struct zebra_from_svi_param in_param;
if (!br_if)
return NULL;