Lines Matching refs:cur
44 struct addrinfo hint, *result, *cur;
62 for (cur = result; cur; cur = cur->ai_next) {
63 if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) {
67 OPENSSL_memcpy(out_addr, cur->ai_addr, cur->ai_addrlen);
68 *out_addr_length = cur->ai_addrlen;
70 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol);