Home
last modified time | relevance | path

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

/bionic/libc/netbsd/
Dgethnamaddr.c512 gethostbyname2(const char *name, int af) in gethostbyname2() argument
514 return android_gethostbynameforiface(name, af, NULL); in gethostbyname2()
518 android_gethostbynameforiface(const char *name, int af, const char *iface) in android_gethostbynameforiface() argument
525 hp = gethostbyname_internal(name, af, res, iface); in android_gethostbynameforiface()
621 gethostbyname_internal_real(const char *name, int af, res_state res) in gethostbyname_internal_real() argument
637 switch (af) { in gethostbyname_internal_real()
650 rs->host.h_addrtype = af; in gethostbyname_internal_real()
675 if (inet_pton(af, name, in gethostbyname_internal_real()
709 if (inet_pton(af, name, in gethostbyname_internal_real()
734 default_dns_files, name, strlen(name), af) != NS_SUCCESS) { in gethostbyname_internal_real()
[all …]
/bionic/libc/netbsd/resolv/
Dres_private.h9 int af; member
/bionic/libc/upstream-netbsd/libc/inet/
Dinet_ntop.c69 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() argument
75 switch (af) { in inet_ntop()
Dinet_pton.c70 inet_pton(int af, const char *src, void *dst) in inet_pton() argument
76 switch (af) { in inet_pton()
/bionic/libc/netbsd/net/
Dgetaddrinfo.c1225 find_afd(int af) in find_afd() argument
1229 if (af == PF_UNSPEC) in find_afd()
1232 if (afd->a_af == af) in find_afd()