Searched refs:sin_family (Results 1 – 7 of 7) sorted by relevance
48 sin->sin_family = AF_INET; in bindresvport()49 } else if (sin->sin_family != AF_INET) { in bindresvport()
209 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()
185 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) {
738 switch (u.sin.sin_family) { in p_sockun()748 sprintf(ret, "[af%d]", u.sin.sin_family); in p_sockun()
2074 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()
214 __kernel_sa_family_t sin_family; member
404 .sin_family = AF_INET, in _have_ipv4()