Lines Matching defs:SRV
87 const ResourceRecord *SRV;
241 domainname t, d, h, srv;
257 if (!ConstructServiceName(&srv, &n, &t, &d)) { errormsg = "Bad Name"; goto badparam; }
461 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL;
466 if (answer->rrtype == kDNSType_SRV) x->SRV = answer;
468 if (x->SRV && x->TXT && x->callback)
472 ConvertDomainNameToCString(&x->SRV->rdata->u.srv.target, targethost);
474 x->SRV->rdata->u.srv.port.NotAnInteger, x->TXT->rdlength, (unsigned char*)x->TXT->rdata->u.txt.c, x->context);
494 domainname t, d, srv;
504 if (!ConstructServiceName(&srv, &n, &t, &d)) { errormsg = "Bad Name"; goto badparam; }
514 x->SRV = mDNSNULL;
520 AssignDomainName(&x->qSRV.qname, &srv);
540 AssignDomainName(&x->qTXT.qname, &srv);