Lines Matching refs:in6
516 struct sockaddr_in6 *in6 = (struct sockaddr_in6*)sa; local
539 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) {
540 in6->sin6_port = htons(port);
541 in6->sin6_family = AF_INET6;
570 *in6 = **(struct sockaddr_in6**)psal;
571 in6->sin6_port = htons(port);
857 struct sockaddr_in6 *in6 = emalloc(sizeof(struct sockaddr_in6)); local
859 local_address = (struct sockaddr*)in6;
862 in6->sin6_family = sa->sa_family;
863 in6->sin6_port = htons(bindport);
864 if (inet_pton(AF_INET6, bindto, &in6->sin6_addr) < 1) {