Lines Matching refs:confdata
636 copy_server_list(lwres_conf_t *confdata, dig_serverlist_t *dest) {
644 for (i = 0; i < confdata->nsnext; i++) {
645 af = addr2af(confdata->nameservers[i].family);
652 lwres_net_ntop(af, confdata->nameservers[i].address,
654 if (af == AF_INET6 && confdata->nameservers[i].zone != 0) {
657 confdata->nameservers[i].zone);
711 add_nameserver(lwres_conf_t *confdata, const char *addr, int af) {
713 int i = confdata->nsnext;
715 if (confdata->nsnext >= LWRES_CONFMAXNAMESERVERS)
720 confdata->nameservers[i].family = LWRES_ADDRTYPE_V4;
721 confdata->nameservers[i].length = NS_INADDRSZ;
724 confdata->nameservers[i].family = LWRES_ADDRTYPE_V6;
725 confdata->nameservers[i].length = NS_IN6ADDRSZ;
731 if (lwres_net_pton(af, addr, &confdata->nameservers[i].address) == 1) {
732 confdata->nsnext++;
1404 create_search_list(lwres_conf_t *confdata) {
1411 for (i = 0; i < confdata->searchnxt; i++) {
1412 search = make_searchlist_entry(confdata->search[i]);