Searched refs:a_af (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 81 int a_af; member 195 for (i = 0; afdl[i].a_af; i++) in getnameinfo_inet() 196 if (afdl[i].a_af == family) { in getnameinfo_inet() 292 switch(afd->a_af) { in getnameinfo_inet() 305 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) in getnameinfo_inet() 318 hp = android_gethostbyaddrfornetcontext_proxy(addr, afd->a_addrlen, afd->a_af, &netcontext); in getnameinfo_inet() 340 switch(afd->a_af) { in getnameinfo_inet() 354 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()
|