Searched refs:nsaddr_list (Results 1 – 3 of 3) sorted by relevance
374 sizeof(statp->nsaddr_list[nserv])) { in __res_vinit()375 memcpy(&statp->nsaddr_list[nserv], in __res_vinit()378 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()478 sizeof(statp->nsaddr_list[nserv])) { in __res_vinit()479 memcpy(&statp->nsaddr_list[nserv], in __res_vinit()482 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()829 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()830 memcpy(&statp->nsaddr_list[nserv], in res_setservers()834 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()845 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()[all …]
414 if (statp->nsaddr_list[ns].sin_family && in res_nsend()415 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()448 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()451 statp->nsaddr_list[ns]; in res_nsend()470 ina = statp->nsaddr_list[0]; in res_nsend()477 statp->nsaddr_list[ns] = statp->nsaddr_list[ns + 1]; in res_nsend()483 statp->nsaddr_list[lastns] = ina; in res_nsend()683 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {696 return (struct sockaddr *)(void *)&statp->nsaddr_list[n];
151 nsaddr_list[MAXNS]; /* address of name server */ member152 #define nsaddr nsaddr_list[0] /* for backward compatibility */