-ssize_t odhcpd_get_interface_addresses(int ifindex,
- struct odhcpd_ipaddr *addrs, size_t cnt);
-int odhcpd_get_linklocal_interface_address(int ifindex, struct in6_addr *lladdr);
+ssize_t odhcpd_get_interface_addresses(int ifindex, bool v6,
+ struct odhcpd_ipaddr **addrs);
+int odhcpd_get_interface_dns_addr(const struct interface *iface,
+ struct in6_addr *addr);