Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/netbsd/net/
Dgetnameinfo.c114 …en, char* host, size_t hostlen, char* serv, size_t servlen, int flags, const char* iface, int mark) in android_getnameinfoforiface() argument
120 serv, servlen, flags, iface, mark); in android_getnameinfoforiface()
161 …ize_t nameBufLen, const void *addr, socklen_t addrLen, int addrFamily, const char* iface, int mark) in android_gethostbyaddr_proxy() argument
164 android_gethostbyaddrforiface_proxy(addr, addrLen, addrFamily, iface, mark); in android_gethostbyaddr_proxy()
182 int flags, const char* iface, int mark) in getnameinfo_inet() argument
324 MAXDNAME, addr, afd->a_addrlen, afd->a_af, iface, mark); in getnameinfo_inet()
332 iface, mark); in getnameinfo_inet()
Dgetaddrinfo.c218 const char *, struct addrinfo **, const char *iface, int mark);
410 const struct addrinfo *hints, struct addrinfo **res, const char *iface) in android_getaddrinfo_proxy() argument
457 iface == NULL ? "^" : iface) < 0) { in android_getaddrinfo_proxy()
586 const struct addrinfo *hints, const char *iface, int mark, struct addrinfo **res) in android_getaddrinfoforiface() argument
735 return android_getaddrinfo_proxy(hostname, servname, hints, res, iface); in android_getaddrinfoforiface()
765 &cur->ai_next, iface, mark); in android_getaddrinfoforiface()
798 const char *servname, struct addrinfo **res, const char *iface, int mark) in explore_fqdn() argument
824 default_dns_files, hostname, pai, iface, mark)) { in explore_fqdn()
1868 static bool _using_default_dns(const char *iface) in _using_default_dns() argument
1874 if (iface == NULL || *iface == '\0') return true; in _using_default_dns()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c518 android_gethostbynameforiface(const char *name, int af, const char *iface, int mark) in android_gethostbynameforiface() argument
525 hp = gethostbyname_internal(name, af, res, iface, mark); in android_gethostbynameforiface()
744 gethostbyname_internal(const char *name, int af, res_state res, const char *iface, int mark) in gethostbyname_internal() argument
751 res_setiface(res, iface); in gethostbyname_internal()
762 iface == NULL ? "^" : iface, in gethostbyname_internal()
784 socklen_t len, int af, const char* iface, int mark) in android_gethostbyaddrforiface_proxy() argument
796 addrStr, len, af, iface == NULL ? "^" : iface) < 0) { in android_gethostbyaddrforiface_proxy()
814 socklen_t len, int af, const char* iface, int mark) in android_gethostbyaddrforiface_real() argument
862 default_dns_files, uaddr, len, af, iface, mark) != NS_SUCCESS) in android_gethostbyaddrforiface_real()
869 android_gethostbyaddrforiface(const void *addr, socklen_t len, int af, const char* iface, int mark) in android_gethostbyaddrforiface() argument
[all …]
/bionic/libc/netbsd/resolv/
Dres_init.c796 void res_setiface(res_state statp, const char* iface) in res_setiface() argument
800 if (iface && iface[0] != '\0') { in res_setiface()
801 int len = sizeof(statp->iface); in res_setiface()
802 strncpy(statp->iface, iface, len - 1); in res_setiface()
803 statp->iface[len - 1] = '\0'; in res_setiface()
805 statp->iface[0] = '\0'; in res_setiface()
Dres_cache.c1855 static int _remove_uidiface_info_locked(const char* iface, int uid_start, int uid_end);
1886 char* iface; in __get_res_cache() local
1888 iface = _get_default_iface_locked(); in __get_res_cache()
1889 if (iface[0] == '\0') { in __get_res_cache()
1892 iface = tmp; in __get_res_cache()
1896 iface = (char *) ifname; in __get_res_cache()
1899 cache = _get_res_cache_for_iface_locked(iface); in __get_res_cache()
1902 XLOG("_get_res_cache: iface = %s, cache=%p\n", iface, cache); in __get_res_cache()
2059 char* iface = _res_default_ifname; in _get_default_iface_locked() local
2061 return iface; in _get_default_iface_locked()
[all …]
Dres_send.c392 cache = __get_res_cache(statp->iface); in res_nsend()
/bionic/libc/kernel/common/sound/
Dasound.h70 int iface; member
745 snd_ctl_elem_iface_t iface; member
/bionic/libc/private/
Dresolv_private.h145 char iface[IF_NAMESIZE+1]; member