Lines Matching refs:sin
204 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()
206 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
208 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
209 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
211 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); in __res_vinit()
238 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
685 switch (set->sin.sin_family) { in res_setservers()
687 size = sizeof(set->sin); in res_setservers()
690 &set->sin, size); in res_setservers()
693 &set->sin, size); in res_setservers()
732 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers()
738 size = sizeof(set->sin); in res_getservers()
740 memcpy(&set->sin, in res_getservers()
744 memcpy(&set->sin, &statp->nsaddr_list[i], in res_getservers()
762 set->sin.sin_family = 0; in res_getservers()