Searched refs:a_af (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 75 int a_af; member 188 for (i = 0; afdl[i].a_af; i++) in getnameinfo_inet() 189 if (afdl[i].a_af == family) { in getnameinfo_inet() 283 switch(afd->a_af) { in getnameinfo_inet() 296 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) in getnameinfo_inet() 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid, mark); in getnameinfo_inet() 328 switch(afd->a_af) { in getnameinfo_inet() 342 if (inet_ntop(afd->a_af, addr, host, in getnameinfo_inet()
|
D | getaddrinfo.c | 141 int a_af; member 951 switch (afd->a_af) { in explore_numeric() 955 if (pai->ai_family == afd->a_af || in explore_numeric() 975 if (inet_pton(afd->a_af, hostname, pton) == 1) { in explore_numeric() 976 if (pai->ai_family == afd->a_af || in explore_numeric() 1120 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai() 1230 for (afd = afdl; afd->a_af; afd++) { in find_afd() 1231 if (afd->a_af == af) in find_afd()
|