Home
last modified time | relevance | path

Searched refs:ai_canonname (Results 1 – 7 of 7) sorted by relevance

/curl/lib/
H A Dcurl_addrinfo.c128 size_t namelen = ai->ai_canonname ? strlen(ai->ai_canonname) + 1 : 0; in Curl_getaddrinfo_ex()
163 ca->ai_canonname = NULL; in Curl_getaddrinfo_ex()
170 ca->ai_canonname = (void *)((char *)ca->ai_addr + ss_size); in Curl_getaddrinfo_ex()
171 memcpy(ca->ai_canonname, ai->ai_canonname, namelen); in Curl_getaddrinfo_ex()
295 ai->ai_canonname = (char *)ai->ai_addr + ss_size; in Curl_he2ai()
296 memcpy(ai->ai_canonname, he->h_name, namelen); in Curl_he2ai()
396 ai->ai_canonname = (char *)ai->ai_addr + addrsize; in Curl_ip2addr()
397 memcpy(ai->ai_canonname, hostname, namelen); in Curl_ip2addr()
H A Dhostip6.c80 ai->ai_family, ai->ai_canonname ? ai->ai_canonname : "<none>"); in dump_addrinfo()
H A Dcurl_addrinfo.h58 char *ai_canonname; member
H A Dhostip.c557 ca->ai_canonname = (char *)ca->ai_addr + ss_size; in get_localhost6()
558 strcpy(ca->ai_canonname, name); in get_localhost6()
594 ca->ai_canonname = (char *)ca->ai_addr + ss_size; in get_localhost()
595 strcpy(ca->ai_canonname, name); in get_localhost()
H A Dasyn-ares.c708 ca->ai_canonname = NULL; in ares2addr()
H A Ddoh.c938 ai->ai_canonname = (void *)((char *)ai->ai_addr + ss_size); in doh2ai()
939 memcpy(ai->ai_canonname, hostname, hostlen); in doh2ai()
/curl/tests/unit/
H A Dunit1305.c85 ai->ai_canonname = (void *)((char *)ai->ai_addr + in fake_ai()
87 memcpy(ai->ai_canonname, dummy, namelen); in fake_ai()

Completed in 14 milliseconds