Searched refs:rp (Results 1 – 2 of 2) sorted by relevance
186 struct addrinfo hints, *result, *rp; in main() local206 for (rp = result; rp; rp = rp->ai_next) { in main()207 s = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol); in main()210 if (connect(s, rp->ai_addr, rp->ai_addrlen) == 0) in main()216 if (rp == NULL) { in main()
327 struct addrinfo *rp; in subscr_addr_add_url() local395 for (rp = result; rp; rp = rp->ai_next) { in subscr_addr_add_url()397 struct sockaddr_in *addr = (struct sockaddr_in *) rp->ai_addr; in subscr_addr_add_url()425 os_memcpy(&a->saddr, rp->ai_addr, sizeof(a->saddr)); in subscr_addr_add_url()