Home
last modified time | relevance | path

Searched refs:ai_addr (Results 1 – 11 of 11) sorted by relevance

/curl/lib/
H A Dcurl_addrinfo.c141 if(!ai->ai_addr || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex()
162 ca->ai_addr = NULL; in Curl_getaddrinfo_ex()
167 memcpy(ca->ai_addr, ai->ai_addr, ss_size); in Curl_getaddrinfo_ex()
170 ca->ai_canonname = (void *)((char *)ca->ai_addr + ss_size); in Curl_getaddrinfo_ex()
295 ai->ai_canonname = (char *)ai->ai_addr + ss_size; in Curl_he2ai()
318 addr = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai()
331 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai()
396 ai->ai_canonname = (char *)ai->ai_addr + addrsize; in Curl_ip2addr()
405 addr = (void *)ai->ai_addr; /* storage area for this info */ in Curl_ip2addr()
418 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_ip2addr()
[all …]
H A Dcurl_addrinfo.h59 struct sockaddr *ai_addr; member
H A Dasyn-ares.c686 if(!ai->ai_addr || !(ai->ai_addrlen > 0)) in ares2addr()
707 ca->ai_addr = NULL; in ares2addr()
711 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in ares2addr()
712 memcpy(ca->ai_addr, ai->ai_addr, ss_size); in ares2addr()
H A Dhostip.c142 const struct sockaddr_in *sa4 = (const void *)ai->ai_addr; in Curl_printable_address()
149 const struct sockaddr_in6 *sa6 = (const void *)ai->ai_addr; in Curl_printable_address()
555 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in get_localhost6()
556 memcpy(ca->ai_addr, &sa6, ss_size); in get_localhost6()
557 ca->ai_canonname = (char *)ca->ai_addr + ss_size; in get_localhost6()
592 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in get_localhost()
593 memcpy(ca->ai_addr, &sa, ss_size); in get_localhost()
594 ca->ai_canonname = (char *)ca->ai_addr + ss_size; in get_localhost()
H A Ddoh.c937 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in doh2ai()
938 ai->ai_canonname = (void *)((char *)ai->ai_addr + ss_size); in doh2ai()
961 addr = (void *)ai->ai_addr; /* storage area for this info */ in doh2ai()
974 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in doh2ai()
H A Dsocks.c383 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in do_SOCKS4()
867 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in do_SOCKS5()
881 saddr_in6 = (struct sockaddr_in6 *)(void *)hp->ai_addr; in do_SOCKS5()
H A Dcf-socket.c339 memcpy(&dest->curl_sa_addr, ai->ai_addr, dest->addrlen); in Curl_sock_assign_addr()
H A Dftp.c1041 memcpy(sa, ai->ai_addr, ai->ai_addrlen); in ftp_state_use_port()
/curl/tests/unit/
H A Dunit1305.c84 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in fake_ai()
85 ai->ai_canonname = (void *)((char *)ai->ai_addr + in fake_ai()
H A Dunit1609.c158 if(addr && !Curl_addr2string(addr->ai_addr, addr->ai_addrlen,
H A Dunit1607.c159 if(addr && !Curl_addr2string(addr->ai_addr, addr->ai_addrlen,

Completed in 34 milliseconds