Lines Matching refs:sin6
526 struct sockaddr_in6 *sin6;
527 sin6 = (struct sockaddr_in6 *) ai->ai_addr;
528 if (memcmp(sin6->sin6_addr.s6_addr, addrbuf, 16) != 0)
531 (void)inet_ntop(af, &sin6->sin6_addr.s6_addr,
548 struct sockaddr_in6 sin6;
564 memset(&sin6, 0, sizeof(sin6));
565 ret = inet_pton(AF_INET6, address, sin6.sin6_addr.s6_addr);
567 sin6.sin6_family = AF_INET6;
569 sin6.sin6_len = sizeof(sin6);
571 sa = (struct sockaddr *) &sin6;
572 salen = sizeof(sin6);