Home | History | Annotate | Download | only in cups

Lines Matching refs:ipv6

140 	* system not being configured with IPv4/IPv6/domain socket enabled.
548 char ipv6[64], /* IPv6 address */
550 int ipv6len; /* Length of IPv6 address */
566 * Remove brackets from numeric IPv6 address...
575 strlcpy(ipv6, hostname + 4, sizeof(ipv6));
576 if ((ipv6len = (int)strlen(ipv6) - 1) >= 0 && ipv6[ipv6len] == ']')
578 ipv6[ipv6len] = '\0';
579 hostname = ipv6;
585 if ((ipv6zone = strrchr(ipv6, '+')) != NULL)
592 * Copy the regular non-link-local IPv6 address...
595 strlcpy(ipv6, hostname + 1, sizeof(ipv6));
596 if ((ipv6len = (int)strlen(ipv6) - 1) >= 0 && ipv6[ipv6len] == ']')
598 ipv6[ipv6len] = '\0';
599 hostname = ipv6;
626 memcpy(&(temp->addr.ipv6), current->ai_addr,
627 sizeof(temp->addr.ipv6));
749 temp->addr.ipv6.sin6_family = AF_INET6;
750 memcpy(&(temp->addr.ipv6.sin6_addr), host->h_addr_list[i],
751 sizeof(temp->addr.ipv6));
752 temp->addr.ipv6.sin6_port = htons(portnum);
830 * then we were unable to resolve the name, so use the IPv6 and/or
849 temp->addr.ipv6.sin6_family = AF_INET6;
850 temp->addr.ipv6.sin6_port = htons(portnum);
852 temp->addr.ipv6.sin6_addr.u.Byte[15] = 1;
854 temp->addr.ipv6.sin6_addr.s6_addr32[3] = htonl(1);
910 temp->addr.ipv6.sin6_family = AF_INET6;
911 temp->addr.ipv6.sin6_port = htons(portnum);