Searched refs:nsaddr_list (Results 1 – 3 of 3) sorted by relevance
372 sizeof(statp->nsaddr_list[nserv])) { in __res_vinit()373 memcpy(&statp->nsaddr_list[nserv], in __res_vinit()376 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()476 sizeof(statp->nsaddr_list[nserv])) { in __res_vinit()477 memcpy(&statp->nsaddr_list[nserv], in __res_vinit()480 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()793 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()794 memcpy(&statp->nsaddr_list[nserv], in res_setservers()798 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()809 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()[all …]
406 if (statp->nsaddr_list[ns].sin_family && in res_nsend()407 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()440 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()443 statp->nsaddr_list[ns]; in res_nsend()462 ina = statp->nsaddr_list[0]; in res_nsend()469 statp->nsaddr_list[ns] = statp->nsaddr_list[ns + 1]; in res_nsend()475 statp->nsaddr_list[lastns] = ina; in res_nsend()654 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {667 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 */