Searched refs:a_af (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 79 int a_af; member 192 for (i = 0; afdl[i].a_af; i++) in getnameinfo_inet() 193 if (afdl[i].a_af == family) { in getnameinfo_inet() 289 switch(afd->a_af) { in getnameinfo_inet() 302 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) in getnameinfo_inet() 315 hp = android_gethostbyaddrfornetcontext_proxy(addr, afd->a_addrlen, afd->a_af, &netcontext); in getnameinfo_inet() 337 switch(afd->a_af) { in getnameinfo_inet() 351 if (inet_ntop(afd->a_af, addr, host, in getnameinfo_inet()
|
D | getaddrinfo.c | 140 int a_af; member 956 switch (afd->a_af) { in explore_numeric() 960 if (pai->ai_family == afd->a_af || in explore_numeric() 980 if (inet_pton(afd->a_af, hostname, pton) == 1) { in explore_numeric() 981 if (pai->ai_family == afd->a_af || in explore_numeric() 1125 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai() 1235 for (afd = afdl; afd->a_af; afd++) { in find_afd() 1236 if (afd->a_af == af) in find_afd()
|