summaryrefslogtreecommitdiff
path: root/zebra/zebra_evpn_neigh.h
diff options
context:
space:
mode:
authorPat Ruddy <pat@voltanet.io>2020-04-24 14:50:23 +0100
committerPat Ruddy <pat@voltanet.io>2020-08-12 12:39:34 +0100
commit32fe7dfd9b4e02ac15fd73abd358b448fcec4cfc (patch)
tree4ad980549d739c2c7efea39dde40ba53a2125f74 /zebra/zebra_evpn_neigh.h
parent224315f3e4a9661ef037f53fb4b46b404d43c84d (diff)
zebra: extract neighbor processing from process_remote_macip_del
extract the neighbor uninstall part of process_remote_macip_add into a new function zebra_evpn_neigh_remote_uninstall in zebra_evpn_neigh.c. Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'zebra/zebra_evpn_neigh.h')
-rw-r--r--zebra/zebra_evpn_neigh.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/zebra/zebra_evpn_neigh.h b/zebra/zebra_evpn_neigh.h
index 3438afb336..b201742dce 100644
--- a/zebra/zebra_evpn_neigh.h
+++ b/zebra/zebra_evpn_neigh.h
@@ -281,11 +281,10 @@ void process_neigh_remote_macip_add(zebra_evpn_t *zevpn, struct zebra_vrf *zvrf,
uint32_t seq);
int zebra_evpn_neigh_gw_macip_add(struct interface *ifp, zebra_evpn_t *zevpn,
struct ipaddr *ip, zebra_mac_t *mac);
+void zebra_evpn_neigh_remote_uninstall(zebra_evpn_t *zevpn,
+ struct zebra_vrf *zvrf, zebra_neigh_t *n,
+ zebra_mac_t *mac, struct ipaddr *ipaddr);
-zebra_neigh_t *zebra_evpn_neigh_add(zebra_evpn_t *zevpn, struct ipaddr *ip,
- struct ethaddr *mac, zebra_mac_t *zmac,
- uint32_t n_flags);
-int zebra_evpn_neigh_uninstall(zebra_evpn_t *zevpn, zebra_neigh_t *n);
void zebra_evpn_neigh_send_add_del_to_client(zebra_neigh_t *n,
bool old_bgp_ready,
bool new_bgp_ready);