diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-09-27 15:45:42 +0200 | 
|---|---|---|
| committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-08-18 09:25:06 -0700 | 
| commit | a237058f59d46af115dafa82c5ca1026418e0518 (patch) | |
| tree | c20ab49e417b03bba47bb047f97b38eb3d71ec36 /zebra/zebra_evpn.h | |
| parent | 9d277b8c5239963bc6037f014e6c5fda5fa1c646 (diff) | |
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.h')
| -rw-r--r-- | zebra/zebra_evpn.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_evpn.h b/zebra/zebra_evpn.h index 3b6a5b21e8..7b08a3f485 100644 --- a/zebra/zebra_evpn.h +++ b/zebra/zebra_evpn.h @@ -123,6 +123,14 @@ struct zebra_evpn_t_ {  	struct list *local_es_evi_list;  }; +/* for parsing evpn and vni contexts */ +struct zebra_from_svi_param { +	struct interface *br_if; +	struct zebra_if *zif; +	uint8_t bridge_vlan_aware; +	vlanid_t vid; +}; +  struct interface *zvni_map_to_svi(vlanid_t vid, struct interface *br_if);  static inline struct interface *zevpn_map_to_svi(zebra_evpn_t *zevpn)  | 
