Searched refs:sin_family (Results 1 – 10 of 10) sorted by relevance
47 sin->sin_family = AF_INET; in bindresvport()50 if (sin->sin_family != AF_INET) { in bindresvport()
208 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()
173 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) {
730 switch (u.sin.sin_family) { in p_sockun()740 snprintf(ret, sizeof(ret), "[af%d]", u.sin.sin_family); in p_sockun()
2189 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()
44 STRUCT_MEMBER(struct sockaddr_in, sa_family_t, sin_family); in netinet_in_h()
179 __kernel_sa_family_t sin_family; member
227 .sin_family = AF_INET,
147 addr.sin_family = AF_INET; in TEST()
387 .sin_family = AF_INET, in _have_ipv4()