Home
last modified time | relevance | path

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

/bionic/libc/inet/
Dbindresvport.c48 sin->sin_family = AF_INET; in bindresvport()
49 } else if (sin->sin_family != AF_INET) { in bindresvport()
/bionic/libc/netbsd/resolv/
Dres_init.c244 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
376 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()
480 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()
787 switch (set->sin.sin_family) { in res_setservers()
798 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
813 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
835 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
837 family = statp->nsaddr_list[i].sin_family; in res_getservers()
865 set->sin.sin_family = 0; in res_getservers()
Dres_send.c176 u.sin.sin_family = family; in random_bind()
236 if (srv->sin_family == inp->sin_family && in res_ourserver_p()
406 if (statp->nsaddr_list[ns].sin_family && in res_nsend()
440 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()
654 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {
Dres_debug.c675 switch (u.sin.sin_family) { in p_sockun()
685 sprintf(ret, "[af%d]", u.sin.sin_family); in p_sockun()
/bionic/libc/kernel/common/linux/
Din.h160 sa_family_t sin_family; member
/bionic/libc/netbsd/net/
Dgetaddrinfo.c387 .sin_family = AF_INET, in _have_ipv4()