summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-01-05 11:42:12 +0000
committerRoy Marples <roy@marples.name>2019-01-05 11:42:12 +0000
commit2f2db8dcf1a3acd87accc71951cae044118edcbf (patch)
tree3d5b6596e4c07295d673ce00abb1ee266bbfedeb /src/if.h
parent7bcb18539956b473fb90a89f7f42d030fbe5ea6c (diff)
downloaddhcpcd-2f2db8dcf1a3acd87accc71951cae044118edcbf.tar.xz
ip6: Implement IPv6 address sharing
This allows the same IPv6 address to exist on more than one interface. Whenever dhcpcd address an IPv6 address, it will advertise it along with the hardware address of the preferred interface. This is heavliy reliant on the kernel supporting this as it's the kernel that handle the Duplicate Address Detection. In a nutshell it needs to support RFC 7527 and ignore NA packets from any hardware address the host owns. Currently the only known kernel that fully supports this is NetBSD-8.99.27
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index 51ef75c0..d260d2d1 100644
--- a/src/if.h
+++ b/src/if.h
@@ -197,6 +197,7 @@ int ip6_temp_valid_lifetime(const char *ifname);
#else
#define ip6_use_tempaddr(a) (0)
#endif
+int ip6_forwarding(const char *ifname);
int if_address6(unsigned char, const struct ipv6_addr *);
int if_addrflags6(const struct interface *, const struct in6_addr *,