Lines Matching refs:lwc
108 lwres_conf_t *lwc = NULL;
130 lwc = lwres_conf_get(lwctx);
131 INSIST(lwc != NULL);
140 if (lwc->nsnext > 0) {
143 for (i = 0; i < lwc->nsnext; i++) {
146 &lwc->nameservers[i],
159 if (lwc->sortlistnxt > 0) {
164 for (i = 0; i < lwc->sortlistnxt; i++) {
165 lwres_addr_t *lwaddr = &lwc->sortlist[i].addr;
166 lwres_addr_t *lwmask = &lwc->sortlist[i].mask;
208 if (lwc->searchnxt > 0) {
209 if (lwc->searchnxt > 0) {
211 for (i = 0; i < lwc->searchnxt; i++) {
213 CHECK(buffer_putstr(&b, lwc->search[i]));
223 if (lwc->ndots != 1) {
225 snprintf(str, sizeof(str), "%u", lwc->ndots);
233 if (lwc->lwnext > 0) {
236 for (i = 0; i < lwc->lwnext; i++) {
238 &lwc->lwservers[i],