Home
last modified time | relevance | path

Searched refs:af (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/dns/net/
Dgethnamaddr.c554 gethostbyname2_r(const char *name, int af, struct hostent *hp, char *buf, in gethostbyname2_r() argument
563 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp, in gethostbyname2_r()
675 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, in gethostbyname_internal_real() argument
691 switch (af) { in gethostbyname_internal_real()
706 hp->h_addrtype = af; in gethostbyname_internal_real()
760 default_dns_files, name, strlen(name), af) != NS_SUCCESS) in gethostbyname_internal_real()
776 if (inet_pton(af, name, buf) <= 0) { in gethostbyname_internal_real()
792 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, in gethostbyname_internal() argument
799 return gethostbyname_internal_real(name, af, res, hp, hbuf, hbuflen, errorp); in gethostbyname_internal()
808 af) < 0) { in gethostbyname_internal()
[all …]
Dsethostent.c106 int af; in _hf_gethtbyname() local
113 af = va_arg(ap, int); in _hf_gethtbyname()
129 hp = _hf_gethtbyname2(name, af, info); in _hf_gethtbyname()
142 _hf_gethtbyname2(const char *name, int af, struct getnamaddr *info) in _hf_gethtbyname2() argument
172 info->hp->h_addrtype = af; in _hf_gethtbyname2()
193 hent.h_addrtype = af = hp->h_addrtype; in _hf_gethtbyname2()
Dgetaddrinfo.c1229 find_afd(int af) in find_afd() argument
1233 if (af == PF_UNSPEC) in find_afd()
1236 if (afd->a_af == af) in find_afd()
/bionic/libc/dns/resolv/
Dres_private.h9 int af; member
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_pton.c47 inet_pton(int af, const char *src, void *dst) in inet_pton() argument
49 switch (af) { in inet_pton()
Dinet_ntop.c45 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() argument
47 switch (af) { in inet_ntop()