Home
last modified time | relevance | path

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

/bionic/libc/netbsd/
Dgethnamaddr.c505 gethostbyname2(const char *name, int af) in gethostbyname2() argument
512 hp = gethostbyname_internal(name, af, res); in gethostbyname2()
518 gethostbyname_internal(const char *name, int af, res_state res) in gethostbyname_internal() argument
535 switch (af) { in gethostbyname_internal()
548 rs->host.h_addrtype = af; in gethostbyname_internal()
573 if (inet_pton(af, name, in gethostbyname_internal()
607 if (inet_pton(af, name, in gethostbyname_internal()
632 default_dns_files, name, strlen(name), af) != NS_SUCCESS) { in gethostbyname_internal()
641 socklen_t len, int af) in gethostbyaddr() argument
654 if (af == AF_INET6 && len == IN6ADDRSZ && in gethostbyaddr()
[all …]
/bionic/libc/netbsd/resolv/
Dres_private.h9 int af; member
/bionic/libc/inet/
Dinet_pton.c48 inet_pton(int af, const char *src, void *dst) in inet_pton() argument
50 switch (af) { in inet_pton()
Dinet_ntop.c46 inet_ntop(int af, const void *src, char *dst, size_t size) in inet_ntop() argument
48 switch (af) { in inet_ntop()
/bionic/libc/netbsd/net/
Dgetaddrinfo.c1028 find_afd(int af) in find_afd() argument
1032 if (af == PF_UNSPEC) in find_afd()
1035 if (afd->a_af == af) in find_afd()