Searched defs:afd (Results 1 - 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
H A D | getnameinfo.c | 74 static const struct afd { struct 170 const struct afd *afd; local 190 afd = &afdl[i]; 198 if (salen < afd->a_socklen) { 204 addr = (const char *)(const void *)sa + afd->a_off; 283 switch(afd->a_af) { 296 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd [all...] |
H A D | getaddrinfo.c | 140 static const struct afd { struct 231 const struct afd *, const char *); 234 static const struct afd *find_afd(int); 274 #define GET_AI(ai, afd, addr) \ 277 (ai) = get_ai(pai, (afd), (addr)); \ 870 const struct afd *afd; local 900 afd = find_afd(pai->ai_family); 901 if (afd == NULL) 905 GET_AI(cur->ai_next, afd, af 935 const struct afd *afd; local 1103 get_ai(const struct addrinfo *pai, const struct afd *afd, const char *addr) argument 1235 const struct afd *afd; local 1308 const struct afd *afd; local [all...] |
Completed in 49 milliseconds