Searched refs:af (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/netbsd/ |
D | gethnamaddr.c | 505 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/ |
D | res_private.h | 9 int af; member
|
/bionic/libc/inet/ |
D | inet_pton.c | 48 inet_pton(int af, const char *src, void *dst) in inet_pton() argument 50 switch (af) { in inet_pton()
|
D | inet_ntop.c | 46 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/ |
D | getaddrinfo.c | 1028 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()
|