Lines Matching refs:sinptr6
373 struct sockaddr_in6 *sinptr6;
460 sinptr6 = (struct sockaddr_in6 *) &best_lifr->lifr_addr;
464 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6));
469 sinptr6 = (struct sockaddr_in6 *)(ifi->ifi_netmask);
470 sinptr6->sin6_family = AF_INET6;
472 (unsigned char *) &(sinptr6->sin6_addr));
539 struct sockaddr_in6 *sinptr6;
725 sinptr6 = (struct sockaddr_in6 *) &ifr->ifr_addr;
734 if (IN6_IS_ADDR_LINKLOCAL(&sinptr6->sin6_addr))
735 sinptr6->sin6_addr.s6_addr[2] = sinptr6->sin6_addr.s6_addr[3] = 0;
736 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6));
764 sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr;
765 memcpy(ifi->ifi_netmask, sinptr6, sizeof(struct sockaddr_in6));