Searched refs:a_af (Results 1 – 2 of 2) sorted by relevance
/external/tcpdump/missing/ |
D | getnameinfo.c | 71 int a_af; member 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))
|
D | getaddrinfo.c | 120 int a_af; member 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 …]
|