summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-09-24 09:55:50 -0400
committerGitHub <noreply@github.com>2018-09-24 09:55:50 -0400
commit82977e243acdcded87aa54e6613460cdf948415d (patch)
treea0e20186b2157e11358caa23cd78b536a2603384 /zebra/interface.h
parent92fe74de22b63741386d40b84dd7b6a9ac4ad2c3 (diff)
parent8e59a4027f2302b79fe2a6f860000267e09f7030 (diff)
Merge pull request #3020 from donaldsharp/global_5549
Allow v6 global addresses to be nexthops for v4 addresses in bgp
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index c6d8b24b01..e4c05e8dc4 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -279,6 +279,7 @@ struct zebra_if {
* for bgp unnumbered?
*/
bool v6_2_v4_ll_neigh_entry;
+ char neigh_mac[6];
struct in6_addr v6_2_v4_ll_addr6;
};
@@ -332,6 +333,10 @@ extern struct interface *if_link_per_ns(struct zebra_ns *, struct interface *);
extern const char *ifindex2ifname_per_ns(struct zebra_ns *, unsigned int);
extern void if_unlink_per_ns(struct interface *);
+extern void if_nbr_mac_to_ipv4ll_neigh_update(struct interface *fip,
+ char mac[6],
+ struct in6_addr *address,
+ int add);
extern void if_nbr_ipv6ll_to_ipv4ll_neigh_update(struct interface *ifp,
struct in6_addr *address,
int add);