Lines Matching defs:ns
82 int ns;
103 ns = socket(AF_INET, SOCK_STREAM, 0);
106 if (connect(ns, (struct sockaddr *) &ns_sin,
108 close(ns);
112 close(ns);
131 int try, v_circuit, resplen, ns;
165 for (ns = 0; ns < _res.nscount; ns++) {
169 ns+1, inet_ntoa(_res.nsaddr_list[ns].sin_addr));
191 if (connect(s, (struct sockaddr *) &_res.nsaddr_list[ns],
253 ns--;
344 (try == 0 && ns == 0)) {
352 (struct sockaddr *) &_res.nsaddr_list[ns],
383 (struct sockaddr *) &_res.nsaddr_list[ns],
480 ((_res.options & RES_USEVC) == 0 || ns != 0)) ||