Searched refs:hints (Results 1 - 4 of 4) 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/ |
H A D | DnsProxyListener.h | 40 // Note: All of host, service, and hints may be NULL 44 struct addrinfo* hints) 48 mHints(hints) {} 41 GetAddrInfoHandler(SocketClient *c, char* host, char* service, struct addrinfo* hints) argument
|
H A D | DnsProxyListener.cpp | 129 struct addrinfo* hints = NULL; local 136 hints = (struct addrinfo*) calloc(1, sizeof(struct addrinfo)); 137 hints->ai_flags = ai_flags; 138 hints->ai_family = ai_family; 139 hints->ai_socktype = ai_socktype; 140 hints->ai_protocol = ai_protocol; 151 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints);
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 97 struct addrinfo hints, *ai; local 104 memset(&hints, 0, sizeof(hints)); 105 hints.ai_family = AF_UNSPEC; 106 hints.ai_flags = AI_NUMERICHOST; 107 hints.ai_socktype = SOCK_DGRAM; 109 ret = getaddrinfo(string, NULL, &hints, &ai); 878 struct addrinfo hints, *addr_ai, *gw_ai; local 880 memset(&hints, 0, sizeof(hints)); [all...] |
Completed in 78 milliseconds