Searched refs:a_af (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getnameinfo.c | 75 int a_af; member 202 for (i = 0; afdl[i].a_af; i++) in getnameinfo_inet() 203 if (afdl[i].a_af == family) { in getnameinfo_inet() 297 switch(afd->a_af) { in getnameinfo_inet() 310 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) in getnameinfo_inet() 324 MAXDNAME, addr, afd->a_addrlen, afd->a_af, iface); in getnameinfo_inet() 331 hp = android_gethostbyaddrforiface(addr, afd->a_addrlen, afd->a_af, iface); in getnameinfo_inet() 354 switch(afd->a_af) { in getnameinfo_inet() 368 if (inet_ntop(afd->a_af, addr, host, in getnameinfo_inet()
|
D | getaddrinfo.c | 137 int a_af; member 952 switch (afd->a_af) { in explore_numeric() 956 if (pai->ai_family == afd->a_af || in explore_numeric() 976 if (inet_pton(afd->a_af, hostname, pton) == 1) { in explore_numeric() 977 if (pai->ai_family == afd->a_af || in explore_numeric() 1121 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai() 1231 for (afd = afdl; afd->a_af; afd++) { in find_afd() 1232 if (afd->a_af == af) in find_afd()
|