/external/tcpdump/missing/ |
getnameinfo.c | 71 int a_af; member in struct:afd 129 for (i = 0; afdl[i].a_af; i++) 130 if (afdl[i].a_af == family) { 216 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) 223 if (afd->a_af == AF_INET6 && 244 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 246 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 272 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
|
getaddrinfo.c | 120 int a_af; member in struct:afd 444 for (afd = afdl; afd->a_af; afd++) { 447 if (!MATCH_FAMILY(pai->ai_family, afd->a_af, 1)) 454 pai->ai_family = afd->a_af; 771 if (inet_pton(afd->a_af, hostname, pton) == 1) { 777 switch (afd->a_af) { 795 if (pai->ai_family == afd->a_af || 920 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 922 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 1009 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; [all...] |
/bionic/libc/netbsd/net/ |
getnameinfo.c | 75 int a_af; member in struct:afd 202 for (i = 0; afdl[i].a_af; i++) 203 if (afdl[i].a_af == family) { 297 switch(afd->a_af) { 310 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) 324 MAXDNAME, addr, afd->a_addrlen, afd->a_af, iface, mark); 331 hp = android_gethostbyaddrforiface(addr, afd->a_addrlen, afd->a_af, 355 switch(afd->a_af) { 369 if (inet_ntop(afd->a_af, addr, host,
|
getaddrinfo.c | 138 int a_af; member in struct:afd 953 switch (afd->a_af) { 957 if (pai->ai_family == afd->a_af || 977 if (inet_pton(afd->a_af, hostname, pton) == 1) { 978 if (pai->ai_family == afd->a_af || 1122 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1232 for (afd = afdl; afd->a_af; afd++) { 1233 if (afd->a_af == af) [all...] |