Home
last modified time | relevance | path

Searched refs:nsaddr_list (Results 1 – 5 of 5) sorted by relevance

/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c415 sizeof(statp->nsaddr_list[nserv])) { in __res_vinit()
416 memcpy(&statp->nsaddr_list[nserv], in __res_vinit()
419 statp->nsaddr_list[nserv].sin_family = 0; in __res_vinit()
809 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()
810 memcpy(&statp->nsaddr_list[nserv], in res_setservers()
813 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
823 if (size <= sizeof(statp->nsaddr_list[nserv])) in res_setservers()
824 memcpy(&statp->nsaddr_list[nserv], in res_setservers()
827 statp->nsaddr_list[nserv].sin_family = 0; in res_setservers()
852 family = statp->nsaddr_list[i].sin_family; in res_getservers()
[all …]
H A Dres_send.c370 if (statp->nsaddr_list[ns].sin_family && in res_nsend()
371 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()
404 if (!statp->nsaddr_list[ns].sin_family) in res_nsend()
407 statp->nsaddr_list[ns]; in res_nsend()
426 ina = statp->nsaddr_list[0]; in res_nsend()
433 statp->nsaddr_list[ns] = statp->nsaddr_list[ns + 1]; in res_nsend()
439 statp->nsaddr_list[lastns] = ina; in res_nsend()
625 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) { in get_nsaddr()
638 return (struct sockaddr *)(void *)&statp->nsaddr_list[n]; in get_nsaddr()
/haiku/src/system/libnetwork/netresolv/include/
H A Dresolv.h53 #define nsaddr nsaddr_list[0] /*%< for backward compatibility */
/haiku/headers/posix/
H A Dresolv.h93 nsaddr_list[MAXNS]; /* address of name server */ member
/haiku/src/add-ons/network_settings/dnsclient/
H A DDNSSettingsView.cpp224 char* address = inet_ntoa(state.nsaddr_list[i].sin_addr); in _LoadDNSConfiguration()