Searched refs:ai_addr (Results 1 – 11 of 11) sorted by relevance
/curl/lib/ |
H A D | curl_addrinfo.c | 141 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 D | curl_addrinfo.h | 59 struct sockaddr *ai_addr; member
|
H A D | asyn-ares.c | 686 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 D | hostip.c | 142 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 D | doh.c | 937 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 D | socks.c | 383 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 D | cf-socket.c | 339 memcpy(&dest->curl_sa_addr, ai->ai_addr, dest->addrlen); in Curl_sock_assign_addr()
|
H A D | ftp.c | 1041 memcpy(sa, ai->ai_addr, ai->ai_addrlen); in ftp_state_use_port()
|
/curl/tests/unit/ |
H A D | unit1305.c | 84 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 D | unit1609.c | 158 if(addr && !Curl_addr2string(addr->ai_addr, addr->ai_addrlen,
|
H A D | unit1607.c | 159 if(addr && !Curl_addr2string(addr->ai_addr, addr->ai_addrlen,
|
Completed in 39 milliseconds