Lines Matching defs:dns
53 struct dns_p * dns;
83 struct dns_p *dns = (struct dns_p *)this->private;
87 if (!dns || !dns->hes_ctx) {
96 pvt->dns = dns;
140 struct dns_p *dns = pvt->dns;
144 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "service")))
148 hesiod_free_list(dns->hes_ctx, hes_list);
155 struct dns_p *dns = pvt->dns;
161 if (!(hes_list = hesiod_resolve(dns->hes_ctx, portstr, "port")))
165 hesiod_free_list(dns->hes_ctx, hes_list);
285 struct dns_p *dns = pvt->dns;
287 return (__hesiod_res_get(dns->hes_ctx));
294 struct dns_p *dns = pvt->dns;
296 __hesiod_res_set(dns->hes_ctx, res, free_res);