Lines Matching refs:sinptr6
376 struct sockaddr_in6 *sinptr6; in get_ifi_info_solaris() local
463 sinptr6 = (struct sockaddr_in6 *) &best_lifr->lifr_addr; in get_ifi_info_solaris()
467 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info_solaris()
472 sinptr6 = (struct sockaddr_in6 *)(ifi->ifi_netmask); in get_ifi_info_solaris()
473 sinptr6->sin6_family = AF_INET6; in get_ifi_info_solaris()
475 (unsigned char *) &(sinptr6->sin6_addr)); in get_ifi_info_solaris()
542 struct sockaddr_in6 *sinptr6; in get_ifi_info() local
728 sinptr6 = (struct sockaddr_in6 *) &ifr->ifr_addr; in get_ifi_info()
737 if (IN6_IS_ADDR_LINKLOCAL(&sinptr6->sin6_addr)) in get_ifi_info()
738 sinptr6->sin6_addr.s6_addr[2] = sinptr6->sin6_addr.s6_addr[3] = 0; in get_ifi_info()
739 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info()
767 sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr; in get_ifi_info()
768 memcpy(ifi->ifi_netmask, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info()