Lines Matching defs:cur
43 struct addrinfo hint, *result, *cur;
61 for (cur = result; cur; cur = cur->ai_next) {
62 if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) {
66 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen);
67 *out_addr_length = cur->ai_addrlen;
69 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol);