Searched refs:nserv (Results 1 – 3 of 3) sorted by relevance
122 int nserv = 0; in getnetbyname() local128 switch (service_order[nserv]) { in getnetbyname()141 nserv++; in getnetbyname()150 int nserv = 0; in getnetbyaddr() local156 switch (service_order[nserv]) { in getnetbyaddr()169 nserv++; in getnetbyaddr()
140 int nserv = 0; in gethostbyname2() local146 switch (service_order[nserv]) { in gethostbyname2()159 nserv++; in gethostbyname2()168 int nserv = 0; in gethostbyaddr() local174 switch (service_order[nserv]) { in gethostbyaddr()187 nserv++; in gethostbyaddr()
158 int nserv = 0; /* number of nameserver records read from file */ in res_init() local318 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in res_init()325 _res.nsaddr_list[nserv].sin_addr = a; in res_init()326 _res.nsaddr_list[nserv].sin_family = AF_INET; in res_init()327 _res.nsaddr_list[nserv].sin_port = in res_init()329 nserv++; in res_init()381 if (nserv > 1) in res_init()382 _res.nscount = nserv; in res_init()433 if ( 0 == nserv ) { in res_init()