Searched refs:hints (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 410 const struct addrinfo *hints, struct addrinfo **res, const char *iface) in android_getaddrinfo_proxy() argument 453 hints == NULL ? -1 : hints->ai_flags, in android_getaddrinfo_proxy() 454 hints == NULL ? -1 : hints->ai_family, in android_getaddrinfo_proxy() 455 hints == NULL ? -1 : hints->ai_socktype, in android_getaddrinfo_proxy() 456 hints == NULL ? -1 : hints->ai_protocol, in android_getaddrinfo_proxy() 579 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument 581 return android_getaddrinfoforiface(hostname, servname, hints, NULL, 0, res); in getaddrinfo() 586 const struct addrinfo *hints, const char *iface, int mark, struct addrinfo **res) in android_getaddrinfoforiface() argument 615 if (hints) { in android_getaddrinfoforiface() 617 if (hints->ai_addrlen || hints->ai_canonname || in android_getaddrinfoforiface() [all …]
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 342 struct addrinfo hints, *ai; in __res_vinit() local 352 memset(&hints, 0, sizeof(hints)); in __res_vinit() 353 hints.ai_family = PF_UNSPEC; in __res_vinit() 354 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit() 355 hints.ai_flags = AI_NUMERICHOST; in __res_vinit() 357 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 && in __res_vinit()
|
D | res_cache.c | 2102 struct addrinfo hints; in _resolv_set_nameservers_for_iface() local 2120 memset(&hints, 0, sizeof(hints)); in _resolv_set_nameservers_for_iface() 2121 hints.ai_family = PF_UNSPEC; in _resolv_set_nameservers_for_iface() 2122 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in _resolv_set_nameservers_for_iface() 2123 hints.ai_flags = AI_NUMERICHOST; in _resolv_set_nameservers_for_iface() 2128 rt = getaddrinfo(servers[i], sbuf, &hints, &cache_info->nsaddrinfo[index]); in _resolv_set_nameservers_for_iface()
|