Home
last modified time | relevance | path

Searched refs:afd (Results 1 – 2 of 2) sorted by relevance

/external/tcpdump/missing/
Dgetaddrinfo.c119 static const struct afd { struct
183 static int get_name (const char *, const struct afd *, struct addrinfo **,
188 const struct afd *, const char *);
191 static const struct afd *find_afd (int);
213 #define GET_AI(ai, afd, addr) \ argument
216 (ai) = get_ai(pai, (afd), (addr)); \
300 const struct afd *afd; local
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;
[all …]
Dgetnameinfo.c70 static struct afd { struct
109 struct afd *afd; local
131 afd = &afdl[i];
137 if (salen != afd->a_socklen)
141 addr = (char *)sa + afd->a_off;
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))