diff options
| author | Russ White <russ@riw.us> | 2018-09-24 09:55:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-24 09:55:50 -0400 |
| commit | 82977e243acdcded87aa54e6613460cdf948415d (patch) | |
| tree | a0e20186b2157e11358caa23cd78b536a2603384 /zebra/interface.h | |
| parent | 92fe74de22b63741386d40b84dd7b6a9ac4ad2c3 (diff) | |
| parent | 8e59a4027f2302b79fe2a6f860000267e09f7030 (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.h | 5 |
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); |
