Home
last modified time | relevance | path

Searched refs:sin_family (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/bionic/
Dbindresvport.c48 sin->sin_family = AF_INET; in bindresvport()
49 } else if (sin->sin_family != AF_INET) { in bindresvport()
/bionic/libc/dns/resolv/
Dres_init.c209 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
379 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()
725 switch (set->sin.sin_family) { in res_setservers()
735 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
749 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
772 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
774 family = statp->nsaddr_list[i].sin_family; in res_getservers()
802 set->sin.sin_family = 0; in res_getservers()
Dres_send.c185 u.sin.sin_family = family; in random_bind()
245 if (srv->sin_family == inp->sin_family && in res_ourserver_p()
423 if (statp->nsaddr_list[ns].sin_family && in res_nsend()
457 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()
698 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {
Dres_debug.c738 switch (u.sin.sin_family) { in p_sockun()
748 sprintf(ret, "[af%d]", u.sin.sin_family); in p_sockun()
Dres_cache.c2074 statp->nsaddr_list[nserv].sin_family = AF_UNSPEC; in _resolv_populate_res_for_net()
2081 statp->nsaddr_list[nserv].sin_family = AF_UNSPEC; in _resolv_populate_res_for_net()
/bionic/libc/kernel/uapi/linux/
Din.h214 __kernel_sa_family_t sin_family; member
/bionic/libc/dns/net/
Dgetaddrinfo.c404 .sin_family = AF_INET, in _have_ipv4()