Lines Matching refs:in6
533 struct sockaddr_in6 *in6 = (struct sockaddr_in6*)sa; local
556 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) {
557 in6->sin6_port = htons(port);
558 in6->sin6_family = AF_INET6;
587 *in6 = **(struct sockaddr_in6**)psal;
588 in6->sin6_port = htons(port);
871 struct sockaddr_in6 *in6 = emalloc(sizeof(struct sockaddr_in6)); local
873 local_address = (struct sockaddr*)in6;
876 in6->sin6_family = sa->sa_family;
877 in6->sin6_port = htons(bindport);
878 if (inet_pton(AF_INET6, bindto, &in6->sin6_addr) < 1) {