Lines Matching refs:ipbuf
143 char ipbuf[IPBUFSIZ]; in ares_getnameinfo() local
146 ipbuf[0] = 0; in ares_getnameinfo()
158 ares_inet_ntop(AF_INET6, &addr6->sin6_addr, ipbuf, IPBUFSIZ); in ares_getnameinfo()
161 append_scopeid(addr6, flags, ipbuf, sizeof(ipbuf)); in ares_getnameinfo()
166 ares_inet_ntop(AF_INET, &addr->sin_addr, ipbuf, IPBUFSIZ); in ares_getnameinfo()
172 callback(arg, ARES_SUCCESS, 0, ipbuf, service); in ares_getnameinfo()
255 char ipbuf[IPBUFSIZ]; in nameinfo_callback() local
257 ares_inet_ntop(AF_INET, &niquery->addr.addr4.sin_addr, ipbuf, in nameinfo_callback()
261 ares_inet_ntop(AF_INET6, &niquery->addr.addr6.sin6_addr, ipbuf, in nameinfo_callback()
264 append_scopeid(&niquery->addr.addr6, niquery->flags, ipbuf, in nameinfo_callback()
265 sizeof(ipbuf)); in nameinfo_callback()
278 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, in nameinfo_callback()