ncpaddr_getip6
if (!ncpaddr_getip6(&arg->bundle->ncp.ipv6cp.hisaddr, &host6))
extern int ncpaddr_getip6(const struct ncpaddr *, struct in6_addr *);
if (ncpaddr_getip6(&gw, &ip6) && IN6_IS_ADDR_UNSPECIFIED(&ip6)) {