Searched refs:hints (Results 1 - 5 of 5) sorted by relevance
/system/extras/tests/bionic/libc/common/ |
H A D | test_getaddrinfo.c | 2 * without a 'hints' argument 18 struct addrinfo hints; local 22 /* first, try without any hints */ 31 /* now try with the hints */ 32 memset(&hints, 0, sizeof(hints)); 33 hints.ai_family = AF_UNSPEC; 34 hints.ai_socktype = SOCK_STREAM; 35 hints.ai_protocol = IPPROTO_TCP; 37 ret = getaddrinfo( SERVER_NAME, PORT_NUMBER, &hints, [all...] |
/system/netd/server/ |
H A D | DnsProxyListener.cpp | 54 struct addrinfo* hints, 60 mHints(hints), 189 struct addrinfo* hints = NULL; local 201 hints = (struct addrinfo*) calloc(1, sizeof(struct addrinfo)); 202 hints->ai_flags = ai_flags; 203 hints->ai_family = ai_family; 204 hints->ai_socktype = ai_socktype; 205 hints->ai_protocol = ai_protocol; 209 if ((hints->ai_flags & AI_ADDRCONFIG) && 211 hints 51 GetAddrInfoHandler(SocketClient *c, char* host, char* service, struct addrinfo* hints, unsigned netId, uint32_t mark) argument [all...] |
H A D | DnsProxyListener.h | 44 // Note: All of host, service, and hints may be NULL 48 struct addrinfo* hints,
|
H A D | NetdConstants.cpp | 204 addrinfo hints = { local 207 int ret = getaddrinfo(addressString.c_str(), NULL, &hints, &res);
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 101 struct addrinfo hints, *ai; local 108 memset(&hints, 0, sizeof(hints)); 109 hints.ai_family = AF_UNSPEC; 110 hints.ai_flags = AI_NUMERICHOST; 111 hints.ai_socktype = SOCK_DGRAM; 113 ret = getaddrinfo(string, NULL, &hints, &ai);
|
Completed in 469 milliseconds