Lines Matching refs:host6
311 struct sockaddr_in6 *host6 = (struct sockaddr_in6 *)host; in ncpaddr_getsa() local
325 host6->sin6_family = AF_INET6; in ncpaddr_getsa()
326 host6->sin6_len = sizeof(*host6); in ncpaddr_getsa()
327 host6->sin6_addr = addr->ncpaddr_ip6addr; in ncpaddr_getsa()
342 const struct sockaddr_in6 *host6 = (const struct sockaddr_in6 *)host; in ncpaddr_setsa() local
353 if (IN6_IS_ADDR_V4MAPPED(&host6->sin6_addr)) { in ncpaddr_setsa()
356 *(const u_int32_t *)(host6->sin6_addr.s6_addr + 12); in ncpaddr_setsa()
359 addr->ncpaddr_ip6addr = host6->sin6_addr; in ncpaddr_setsa()
703 const struct sockaddr_in6 *host6 = (const struct sockaddr_in6 *)host; in ncprange_setsa() local
726 range->ncprange_ip6addr = host6->sin6_addr; in ncprange_setsa()
727 if (IN6_IS_ADDR_UNSPECIFIED(&host6->sin6_addr)) in ncprange_setsa()
746 struct sockaddr_in6 *host6 = (struct sockaddr_in6 *)host; in ncprange_getsa() local
768 host6->sin6_family = AF_INET6; in ncprange_getsa()
769 host6->sin6_len = sizeof(*host6); in ncprange_getsa()
770 host6->sin6_addr = range->ncprange_ip6addr; in ncprange_getsa()
773 mask6->sin6_len = sizeof(*host6); in ncprange_getsa()