/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); 331 hp = android_gethostbyaddrforiface(addr, afd->a_addrlen, afd->a_af, iface); 354 switch(afd->a_af) { 368 if (inet_ntop(afd->a_af, addr, host,
|
getaddrinfo.c | 137 int a_af; member in struct:afd 952 switch (afd->a_af) { 956 if (pai->ai_family == afd->a_af || 976 if (inet_pton(afd->a_af, hostname, pton) == 1) { 977 if (pai->ai_family == afd->a_af || 1121 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1231 for (afd = afdl; afd->a_af; afd++) { 1232 if (afd->a_af == af) [all...] |