Searched refs:sin_family (Results 1 – 6 of 6) sorted by relevance
48 sin->sin_family = AF_INET; in bindresvport()49 } else if (sin->sin_family != AF_INET) { in bindresvport()
244 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()
176 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) {
675 switch (u.sin.sin_family) { in p_sockun()685 sprintf(ret, "[af%d]", u.sin.sin_family); in p_sockun()
160 sa_family_t sin_family; member
387 .sin_family = AF_INET, in _have_ipv4()