Searched defs:ns (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/netbsd/resolv/
H A Dres_init.c658 int ns; local
665 for (ns = 0; ns < statp->_u._ext.nscount; ns++) {
666 if (statp->_u._ext.nssocks[ns] != -1) {
667 (void) close(statp->_u._ext.nssocks[ns]);
668 statp->_u._ext.nssocks[ns] = -1;
H A Dres_send.c237 int ns; local
242 for (ns = 0; ns < statp->nscount; ns++) {
243 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns);
255 for (ns = 0; ns < statp->nscount; ns++) {
256 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns);
366 int gotsomewhere, terrno, try, v_circuit, resplen, ns, local
719 get_timeout(const res_state statp, const int ns) argument
736 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument
1047 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int *v_circuit, int *gotsomewhere) argument
[all...]
H A Dres_cache.c2174 char** ns; local
2180 ns = cache_info->nameservers;
2182 while(*ns) {
2183 if (strcmp(*ns, servers[i]) == 0) {
2187 ns++;
2228 char* ns; local
2236 ns = cache_info->nameservers[n - 1];
2237 if (ns) {
2238 len = strlen(ns);
2240 strncpy(addr, ns, le
[all...]

Completed in 58 milliseconds