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

/bionic/libc/dns/net/
H A Dgetnameinfo.c71 static const struct afd { struct
167 const struct afd *afd; local
187 afd = &afdl[i];
195 if (salen < afd->a_socklen) {
201 addr = (const char *)(const void *)sa + afd->a_off;
280 switch(afd->a_af) {
293 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
306 hp = android_gethostbyaddrfornetcontext_proxy(addr, afd->a_addrlen, afd
[all...]
H A Dgetaddrinfo.c139 static const struct afd { struct
230 const struct afd *, const char *);
233 static const struct afd *find_afd(int);
274 #define GET_AI(ai, afd, addr) \
277 (ai) = get_ai(pai, (afd), (addr)); \
867 const struct afd *afd; local
897 afd = find_afd(pai->ai_family);
898 if (afd == NULL)
902 GET_AI(cur->ai_next, afd, af
932 const struct afd *afd; local
1100 get_ai(const struct addrinfo *pai, const struct afd *afd, const char *addr) argument
1232 const struct afd *afd; local
1316 const struct afd *afd; local
[all...]

Completed in 568 milliseconds