Searched defs:hints (Results 1 - 5 of 5) sorted by relevance

/bionic/tests/
H A Dnetdb_test.cpp81 addrinfo hints; local
82 memset(&hints, 0, sizeof(hints));
83 hints.ai_family = AF_INET;
84 hints.ai_socktype = SOCK_STREAM;
85 hints.ai_protocol = IPPROTO_TCP;
88 ASSERT_EQ(0, getaddrinfo( "localhost", "9999", &hints, &ai));
/bionic/libc/dns/resolv/
H A Dres_init.c353 struct addrinfo hints, *ai; local
363 memset(&hints, 0, sizeof(hints));
364 hints.ai_family = PF_UNSPEC;
365 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
366 hints.ai_flags = AI_NUMERICHOST;
368 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
H A Dres_cache.c1935 struct addrinfo hints; local
1953 memset(&hints, 0, sizeof(hints));
1954 hints.ai_family = PF_UNSPEC;
1955 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
1956 hints.ai_flags = AI_NUMERICHOST;
1961 rt = getaddrinfo(servers[i], sbuf, &hints, &cache_info->nsaddrinfo[index]);
/bionic/libc/kernel/uapi/linux/
H A Dirda.h127 __u8 hints[2]; member in struct:irda_device_info
/bionic/libc/dns/net/
H A Dgetaddrinfo.c267 "Invalid value for hints", /* EAI_BADHINTS */
406 const struct addrinfo *hints, struct addrinfo **res, unsigned netid)
434 hints == NULL ? -1 : hints->ai_flags,
435 hints == NULL ? -1 : hints->ai_family,
436 hints == NULL ? -1 : hints->ai_socktype,
437 hints == NULL ? -1 : hints
404 android_getaddrinfo_proxy( const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, unsigned netid) argument
560 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
567 android_getaddrinfofornet(const char *hostname, const char *servname, const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) argument
581 android_getaddrinfofornetcontext(const char *hostname, const char *servname, const struct addrinfo *hints, const struct android_net_context *netcontext, struct addrinfo **res) argument
2032 struct addrinfo hints, *res0, *res; local
[all...]

Completed in 56 milliseconds