/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))
|
/bionic/libc/dns/net/ |
getnameinfo.c | 75 int a_af; member in struct:afd 188 for (i = 0; afdl[i].a_af; i++) 189 if (afdl[i].a_af == family) { 283 switch(afd->a_af) { 296 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid); 328 switch(afd->a_af) { 342 if (inet_ntop(afd->a_af, addr, host,
|
getaddrinfo.c | 141 int a_af; member in struct:afd 960 switch (afd->a_af) { 964 if (pai->ai_family == afd->a_af || 984 if (inet_pton(afd->a_af, hostname, pton) == 1) { 985 if (pai->ai_family == afd->a_af || 1129 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1239 for (afd = afdl; afd->a_af; afd++) { 1240 if (afd->a_af == af) [all...] |
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 130 int a_af; member in struct:afd 456 for (afd = afdl; afd->a_af; afd++) { 459 if (!MATCH_FAMILY(pai->ai_family, afd->a_af, 1)) 466 pai->ai_family = afd->a_af; 783 if (inet_pton(afd->a_af, hostname, pton) == 1) { 789 switch (afd->a_af) { 807 if (pai->ai_family == afd->a_af || 932 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 934 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 1020 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; [all...] |