Searched defs:ns (Results 1 - 3 of 3) sorted by relevance
/bionic/libc/netbsd/resolv/ |
H A D | res_init.c | 658 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 D | res_send.c | 237 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 D | res_cache.c | 2176 char** ns; local 2182 ns = cache_info->nameservers; 2184 while(*ns) { 2185 if (strcmp(*ns, servers[i]) == 0) { 2189 ns++; 2230 char* ns; local 2238 ns = cache_info->nameservers[n - 1]; 2239 if (ns) { 2240 len = strlen(ns); 2242 strncpy(addr, ns, le [all...] |
Completed in 288 milliseconds