Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/dns/net/
Dgetaddrinfo.c408 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) in android_getaddrinfo_proxy() argument
435 hints == NULL ? -1 : hints->ai_flags, in android_getaddrinfo_proxy()
436 hints == NULL ? -1 : hints->ai_family, in android_getaddrinfo_proxy()
437 hints == NULL ? -1 : hints->ai_socktype, in android_getaddrinfo_proxy()
438 hints == NULL ? -1 : hints->ai_protocol, in android_getaddrinfo_proxy()
564 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
566 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res); in getaddrinfo()
572 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) in android_getaddrinfofornet() argument
581 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); in android_getaddrinfofornet()
587 const struct addrinfo *hints, const struct android_net_context *netcontext, in android_getaddrinfofornetcontext() argument
[all …]
/bionic/tests/
Dnetdb_test.cpp81 addrinfo hints; in TEST() local
82 memset(&hints, 0, sizeof(hints)); in TEST()
83 hints.ai_family = AF_INET; in TEST()
84 hints.ai_socktype = SOCK_STREAM; in TEST()
85 hints.ai_protocol = IPPROTO_TCP; in TEST()
88 ASSERT_EQ(0, getaddrinfo( "localhost", "9999", &hints, &ai)); in TEST()
/bionic/libc/dns/resolv/
Dres_init.c354 struct addrinfo hints, *ai; in __res_vinit() local
364 memset(&hints, 0, sizeof(hints)); in __res_vinit()
365 hints.ai_family = PF_UNSPEC; in __res_vinit()
366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
367 hints.ai_flags = AI_NUMERICHOST; in __res_vinit()
369 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 && in __res_vinit()
Dres_cache.c2017 struct addrinfo hints = { in _resolv_set_nameservers_for_net() local
2025 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]); in _resolv_set_nameservers_for_net()