Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dnetinet_in.cpp47 sin->sin_family = AF_INET; in bindresvport()
50 if (sin->sin_family != AF_INET) { in bindresvport()
/bionic/libc/dns/resolv/
Dres_init.c208 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
380 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()
685 switch (set->sin.sin_family) { in res_setservers()
695 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
709 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
732 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
734 family = statp->nsaddr_list[i].sin_family; in res_getservers()
762 set->sin.sin_family = 0; in res_getservers()
Dres_send.c173 u.sin.sin_family = family; in random_bind()
233 if (srv->sin_family == inp->sin_family && in res_ourserver_p()
402 if (statp->nsaddr_list[ns].sin_family && in res_nsend()
437 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()
710 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {
Dres_debug.c730 switch (u.sin.sin_family) { in p_sockun()
740 snprintf(ret, sizeof(ret), "[af%d]", u.sin.sin_family); in p_sockun()
Dres_cache.c2189 statp->nsaddr_list[nserv].sin_family = AF_UNSPEC; in _resolv_populate_res_for_net()
2196 statp->nsaddr_list[nserv].sin_family = AF_UNSPEC; in _resolv_populate_res_for_net()
/bionic/tests/headers/posix/
Dnetinet_in_h.c44 STRUCT_MEMBER(struct sockaddr_in, sa_family_t, sin_family); in netinet_in_h()
/bionic/libc/kernel/uapi/linux/
Din.h179 __kernel_sa_family_t sin_family; member
/bionic/tests/
Dfdtrack_test.cpp227 .sin_family = AF_INET,
Dnetdb_test.cpp147 addr.sin_family = AF_INET; in TEST()
/bionic/libc/dns/net/
Dgetaddrinfo.c387 .sin_family = AF_INET, in _have_ipv4()