summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-02-02 22:48:18 +0100
committerHans Dedecker <dedeckeh@gmail.com>2019-09-15 18:54:12 +0200
commit91a28e4566bdae6532d3801332bef9999f43605c (patch)
tree1e2cc18379b0edbe2ba54df6c4642bb34a6dcc13 /src/odhcpd.h
parentfd93e36727bc605f6f860759d7710a43bee5215d (diff)
ndp: answer global-addressed NS manually
An upstream router may address solicits to the global address of the target, these will not be answered by the kernel and not routed either due to link-local source. The NS will eventually be retried as multicast, but we want to avoid this. see also https://forum.archive.openwrt.org/viewtopic.php?id=40871 Signed-off-by: Stefan Alfers <sfan5@live.de>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 4a07252..01c9ad7 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -387,6 +387,7 @@ void dhcpv6_ia_write_statefile(void);
int netlink_add_netevent_handler(struct netevent_handler *hdlr);
ssize_t netlink_get_interface_addrs(const int ifindex, bool v6,
struct odhcpd_ipaddr **addrs);
+int netlink_get_interface_proxy_neigh(int ifindex, const struct in6_addr *addr);
int netlink_setup_route(const struct in6_addr *addr, const int prefixlen,
const int ifindex, const struct in6_addr *gw,
const uint32_t metric, const bool add);