diff options
author | Pat Ruddy <pat@voltanet.io> | 2020-04-22 17:30:52 +0200 |
---|---|---|
committer | Pat Ruddy <pat@voltanet.io> | 2020-08-12 13:39:34 +0200 |
commit | 7bce35354ffe2cecec722ef9ab8c54b499f4f3c0 (patch) | |
tree | 20464faf33657ebb4f3c39b336307fd7e035db8a /zebra/zebra_evpn_mac.h | |
parent | zebra: extract local mac del from zebra_vxlan.c (diff) | |
download | frr-7bce35354ffe2cecec722ef9ab8c54b499f4f3c0.tar.xz frr-7bce35354ffe2cecec722ef9ab8c54b499f4f3c0.zip |
zebra: extract gateway mac add from zebra_vxlan.c
extract mac_gateway add code from zevi_gw_macip_add and move it to
a new generic function zebra_evpn_mac_gw_macip_add in zebra_evpn_mac.c
Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'zebra/zebra_evpn_mac.h')
-rw-r--r-- | zebra/zebra_evpn_mac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_evpn_mac.h b/zebra/zebra_evpn_mac.h index b6ee9d8f3..39aaf1fb3 100644 --- a/zebra/zebra_evpn_mac.h +++ b/zebra/zebra_evpn_mac.h @@ -252,6 +252,9 @@ int zebra_evpn_add_update_local_mac(struct zebra_vrf *zvrf, zebra_evpn_t *zevpn, bool dp_static); int zebra_evpn_del_local_mac(zebra_evpn_t *zevpn, struct ethaddr *macaddr, struct interface *ifp); +int zebra_evpn_mac_gw_macip_add(struct interface *ifp, zebra_evpn_t *zevpn, + struct ipaddr *ip, zebra_mac_t **macp, + struct ethaddr *macaddr, vlanid_t vlan_id); #ifdef __cplusplus } |