Searched refs:nsaddr_list (Results 1 – 6 of 6) sorted by relevance
496 sizeof(statp->nsaddr_list[nserv])) { in __res_vinit()497 memcpy(&statp->nsaddr_list[nserv], in __res_vinit()500 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()875 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()876 memcpy(&statp->nsaddr_list[nserv], in res_setservers()879 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()889 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()890 memcpy(&statp->nsaddr_list[nserv], in res_setservers()893 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()917 family = statp->nsaddr_list[i].sin_family; in res_getservers()[all …]
341 if (statp->nsaddr_list[ns].sin_family && in res_nsend()342 !sock_eq((struct sockaddr *)&statp->nsaddr_list[ns], in res_nsend()375 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()378 statp->nsaddr_list[ns]; in res_nsend()397 ina = statp->nsaddr_list[0]; in res_nsend()404 statp->nsaddr_list[ns] = statp->nsaddr_list[ns + 1]; in res_nsend()410 statp->nsaddr_list[lastns] = ina; in res_nsend()583 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {596 return (struct sockaddr *)(void *)&statp->nsaddr_list[n];
259 if ((_res.nsaddr_list[nserv].sin_addr.s_addr = in res_init()261 _res.nsaddr_list[n].sin_addr.s_addr = INADDR_ANY; in res_init()264 _res.nsaddr_list[nserv].sin_family = AF_INET; in res_init()265 _res.nsaddr_list[nserv].sin_port = htons(NAMESERVER_PORT); in res_init()
73 struct sockaddr_in nsaddr_list[MAXNS]; /* address of name server */ member74 #define nsaddr nsaddr_list[0] /* for backward compatibility */
182 ns+1, inet_ntoa(_res.nsaddr_list[ns].sin_addr));204 if (connect(s, (struct sockaddr *) &_res.nsaddr_list[ns],365 (struct sockaddr *) &_res.nsaddr_list[ns],396 (struct sockaddr *) &_res.nsaddr_list[ns],
194 nsaddr_list[MAXNS]; /* address of name server */ member195 #define nsaddr nsaddr_list[0] /* for backward compatibility */