summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_evpn_neigh.h
diff options
context:
space:
mode:
authorPat Ruddy <pat@voltanet.io>2020-04-24 14:48:31 +0200
committerPat Ruddy <pat@voltanet.io>2020-08-12 13:39:34 +0200
commit036daaca3e81bb0260eadef695c0c69a006ef147 (patch)
treea9b76319c4b02b14ee27e24a98388039a8be904c /zebra/zebra_evpn_neigh.h
parentzebra: extract neighbor functions from zebra_vxlan.c (diff)
downloadfrr-036daaca3e81bb0260eadef695c0c69a006ef147.tar.xz
frr-036daaca3e81bb0260eadef695c0c69a006ef147.zip
zebra: extract neigbor processing from remote_macip_add
extract the neighbor part of process_remote_macip_add into a new function process_neigh_remote_macip_add 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.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/zebra/zebra_evpn_neigh.h b/zebra/zebra_evpn_neigh.h
index 7520a515b..ddeb6ab8b 100644
--- a/zebra/zebra_evpn_neigh.h
+++ b/zebra/zebra_evpn_neigh.h
@@ -275,19 +275,14 @@ void zebra_evpn_print_neigh_hash_detail(struct hash_bucket *bucket, void *ctxt);
void zebra_evpn_print_dad_neigh_hash(struct hash_bucket *bucket, void *ctxt);
void zebra_evpn_print_dad_neigh_hash_detail(struct hash_bucket *bucket,
void *ctxt);
+void process_neigh_remote_macip_add(zebra_evpn_t *zevpn, struct zebra_vrf *zvrf,
+ struct ipaddr *ipaddr, zebra_mac_t *mac,
+ struct in_addr vtep_ip, uint8_t flags,
+ uint32_t seq);
-void zebra_evpn_probe_neigh_on_mac_add(zebra_evpn_t *zevpn, zebra_mac_t *zmac);
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_ip_inherit_dad_from_mac(struct zebra_vrf *zvrf,
- zebra_mac_t *old_zmac,
- zebra_mac_t *new_zmac,
- zebra_neigh_t *nbr);
-void zebra_evpn_dup_addr_detect_for_neigh(struct zebra_vrf *zvrf,
- zebra_neigh_t *nbr,
- struct in_addr vtep_ip, bool do_dad,
- bool *is_dup_detect, bool is_local);
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,