Lines Matching refs:resrec

896 	LogMsg("ERROR: unlinkAR - no such active record %##s", rr->resrec.name->c);  in unlinkAR()
913 …ng service record set %##s still referenced by NAT traversal object!", srs->RR_SRV.resrec.name->c); in unlinkSRS()
927 LogMsg("unlinkSRS: extra record %##s not found", e->r.resrec.name->c); in unlinkSRS()
930 …LogMsg("ERROR: unlinkSRS - SRS not found in ServiceRegistrations list %##s", srs->RR_SRV.resrec.na… in unlinkSRS()
1121 …: Freeing NAT info object still referenced by Service Record Set %##s!", s->RR_SRV.resrec.name->c); in FreeNATInfo()
1192 addr.ip.v4 = rr->resrec.rdata->u.ipv4; in ReceiveNATAddrResponse()
1251 rr->resrec.rdata->u.ipv4 = addr.ip.v4; // replace rdata w/ public address in ReceiveNATAddrResponse()
1325 mDNSIPPort priv = srs ? srs->RR_SRV.resrec.rdata->u.srv.port : m->UnicastPort4; in ReceivePortMapReply()
1329 mDNSu8 *service = srs ? srs->RR_SRV.resrec.name->c : (mDNSu8 *)"\016LLQ event port"; in ReceivePortMapReply()
1340 mDNSBool tcp = (srs && DomainContainsLabelString(srs->RR_PTR.resrec.name, "_tcp")); in ReceivePortMapReply()
1436 …startGetZoneData(srs->RR_SRV.resrec.name, m, mDNStrue, mDNSfalse, serviceRegistrationCallback, srs… in ReceivePortMapReply()
1471 if (DomainContainsLabelString(srs->RR_PTR.resrec.name, "_tcp")) op = NATOp_MapTCP; in StartNATPortMap()
1472 else if (DomainContainsLabelString(srs->RR_PTR.resrec.name, "_udp")) op = NATOp_MapUDP; in StartNATPortMap()
1473 …ap: could not determine transport protocol of service %##s", srs->RR_SRV.resrec.name->c); goto err… in StartNATPortMap()
1481 FormatPortMaprequest(info, srs->RR_SRV.resrec.rdata->u.srv.port); in StartNATPortMap()
1486 …startGetZoneData(srs->RR_SRV.resrec.name, m, mDNStrue, mDNSfalse, serviceRegistrationCallback, srs… in StartNATPortMap()
1502 mDNSBool tcp = srs ? DomainContainsLabelString(srs->RR_PTR.resrec.name, "_tcp") : mDNSfalse; in DeleteNATPortMapping()
1560 AssignDomainName(dst, hi->arv4->resrec.name); in GetServiceTarget()
1565 AssignDomainName(dst, hi->arv4->resrec.name); in GetServiceTarget()
1586 domainname *curtarget = &srs->RR_SRV.resrec.rdata->u.srv.target; in UpdateSRV()
1597 mDNSIPPort port = srs->RR_SRV.resrec.rdata->u.srv.port; in UpdateSRV()
1611 …srs->RR_SRV.resrec.name->c, HaveZoneData, TargetChanged, HaveTarget, NowBehindNAT, WereBehindNAT,… in UpdateSRV()
1640 … ? "Starting Port Map for" : "Registering") : "Getting Zone Data for", srs->RR_SRV.resrec.name->c); in UpdateSRV()
1644 …startGetZoneData(srs->RR_SRV.resrec.name, m, mDNStrue, mDNSfalse, serviceRegistrationCallback, srs… in UpdateSRV()
1657 …ed for service %##s - deregistering (will re-register with new SRV)", srs->RR_SRV.resrec.name->c); in UpdateSRV()
1692 if (rr->resrec.rrtype == kDNSType_A) in HostnameCallback()
1693 …back: Error %ld for registration of %##s IP %.4a", result, rr->resrec.name->c, &rr->resrec.rdata->… in HostnameCallback()
1695 …ack: Error %ld for registration of %##s IP %.16a", result, rr->resrec.name->c, &rr->resrec.rdata->… in HostnameCallback()
1715 if (rr->resrec.rrtype == kDNSType_A) in HostnameCallback()
1716 LogMsg("Registered hostname %##s IP %.4a", rr->resrec.name->c, &rr->resrec.rdata->u.ipv4); in HostnameCallback()
1718 LogMsg("Registered hostname %##s IP %.16a", rr->resrec.name->c, &rr->resrec.rdata->u.ipv6); in HostnameCallback()
1737 LogMsg("Advertising %##s IP %.4a", h->arv4->resrec.name->c, &u->AdvertisedV4.ip.v4); in AdvertiseHostname()
1743 LogMsg("Advertising %##s IP %.16a", h->arv4->resrec.name->c, &u->AdvertisedV6.ip.v6); in AdvertiseHostname()
1825 AssignDomainName(ar->resrec.name, &hi->fqdn); in AssignHostnameInfoAuthRecord()
1830 if (u->MappedV4.ip.v4.NotAnInteger) ar->resrec.rdata->u.ipv4 = u->MappedV4.ip.v4; in AssignHostnameInfoAuthRecord()
1831 else ar->resrec.rdata->u.ipv4 = u->AdvertisedV4.ip.v4; in AssignHostnameInfoAuthRecord()
1835 ar->resrec.rdata->u.ipv6 = u->AdvertisedV6.ip.v6; in AssignHostnameInfoAuthRecord()
1861 i->arv4->resrec.rdata->u.ipv4.NotAnInteger != u->AdvertisedV4.ip.v4.NotAnInteger && in UpdateHostnameRegistrations()
1862 i->arv4->resrec.rdata->u.ipv4.NotAnInteger !=u->MappedV4.ip.v4.NotAnInteger) in UpdateHostnameRegistrations()
1867 …if (i->arv6 && !mDNSPlatformMemSame(i->arv6->resrec.rdata->u.ipv6.b, u->AdvertisedV6.ip.v6.b, 16) … in UpdateHostnameRegistrations()
1874 …else if (i->arv4 && i->arv4->uDNS_info.state == regState_Unregistered) i->arv4->resrec.rdata->u.ip… in UpdateHostnameRegistrations()
1876 …else if (i->arv6 &&i->arv6->uDNS_info.state == regState_Unregistered) i->arv6->resrec.rdata->u.ip… in UpdateHostnameRegistrations()
1998 if (SameResourceRecord(&ptr->resrec, &rr->resrec)) return mDNStrue; in kaListContainsAnswer()
2010 if (SameResourceRecord(&ptr->resrec, &rr->resrec)) in removeKnownAnswer()
2028 size = sizeof(CacheRecord) + rr->resrec.rdlength - InlineCacheRDSize; in addKnownAnswer()
2032 newCR->resrec.rdata = (RData*)&newCR->rdatastorage; in addKnownAnswer()
2033 newCR->resrec.rdata->MaxRDLength = rr->resrec.rdlength; in addKnownAnswer()
2034 newCR->resrec.name = &question->qname; in addKnownAnswer()
2057 debugf("deriving goodbye for %##s", ka->resrec.name->c); in deriveGoodbyes()
2060 question->QuestionCallback(m, question, &ka->resrec, mDNSfalse); in deriveGoodbyes()
2087 if (ResourceRecordAnswersQuestion(&cr->resrec, question)) in deriveGoodbyes()
2100 { if (SameResourceRecord(&ka->resrec, &cr->resrec)) break; } in deriveGoodbyes()
2106 debugf("deriving goodbye for %##s", ka->resrec.name->c); in deriveGoodbyes()
2108 question->QuestionCallback(m, question, &ka->resrec, mDNSfalse); in deriveGoodbyes()
2165 cr->resrec.RecordType = kDNSRecordTypeUnregistered; in pktResponseHndlr()
2166 cr->resrec.InterfaceID = mDNSNULL; in pktResponseHndlr()
2167 cr->resrec.name = &question->qname; in pktResponseHndlr()
2168 cr->resrec.rrtype = question->qtype; in pktResponseHndlr()
2169 cr->resrec.rrclass = question->qclass; in pktResponseHndlr()
2170 cr->resrec.rroriginalttl = 1; /* What should we use for the TTL? TTL from SOA for domain? */ in pktResponseHndlr()
2171 cr->resrec.rdlength = 0; in pktResponseHndlr()
2172 cr->resrec.rdestimate = 0; in pktResponseHndlr()
2173 cr->resrec.namehash = 0; in pktResponseHndlr()
2174 cr->resrec.namehash = 0; in pktResponseHndlr()
2175 cr->resrec.rdata = (RData*)&cr->rdatastorage; in pktResponseHndlr()
2176 cr->resrec.rdata->MaxRDLength = cr->resrec.rdlength; in pktResponseHndlr()
2180 question->QuestionCallback(m, question, &cr->resrec, 0); in pktResponseHndlr()
2185 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it in pktResponseHndlr()
2202 if (ResourceRecordAnswersQuestion(&cr->resrec, question)) in pktResponseHndlr()
2204 goodbye = llq ? ((mDNSs32)cr->resrec.rroriginalttl == -1) : mDNSfalse; in pktResponseHndlr()
2205 if (cr->resrec.rrtype == kDNSType_CNAME) in pktResponseHndlr()
2210 debugf("Following cname %##s -> %##s", question->qname.c, cr->resrec.rdata->u.name.c); in pktResponseHndlr()
2214 question->QuestionCallback(m, question, &cr->resrec, !goodbye); in pktResponseHndlr()
2221 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it in pktResponseHndlr()
2227 AssignDomainName(&question->qname, &cr->resrec.rdata->u.name); in pktResponseHndlr()
2232 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it in pktResponseHndlr()
2241 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it in pktResponseHndlr()
2247 question->QuestionCallback(m, question, &cr->resrec, !goodbye); in pktResponseHndlr()
2251 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it in pktResponseHndlr()
2257 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it in pktResponseHndlr()
2306 if (lcr.r.resrec.rrtype == kDNSType_TSIG) in ParseTSIGError()
2309 mDNSu8 *rd = lcr.r.resrec.rdata->u.data; in ParseTSIGError()
2311 int alglen = DomainNameLength(&lcr.r.resrec.rdata->u.name); in ParseTSIGError()
2402 debugf("checking for self-conflict of service %##s", srs->RR_SRV.resrec.name->c); in hndlServiceUpdateReply()
2417 LogMsg("Re-trying update of service %##s without lease option", srs->RR_SRV.resrec.name->c); in hndlServiceUpdateReply()
2424 …if (err) { LogMsg("Error %ld for registration of service %##s", err, srs->RR_SRV.resrec.name->c); … in hndlServiceUpdateReply()
2432 LogMsg("Error %ld for refresh of service %##s", err, srs->RR_SRV.resrec.name->c); in hndlServiceUpdateReply()
2439 if (err) LogMsg("Error %ld for deregistration of service %##s", err, srs->RR_SRV.resrec.name->c); in hndlServiceUpdateReply()
2457 …debugf("Error %ld received prior to deferred derigstration of %##s", err, srs->RR_SRV.resrec.name-… in hndlServiceUpdateReply()
2465 debugf("Performing deferred deregistration of %##s", srs->RR_SRV.resrec.name->c); in hndlServiceUpdateReply()
2473 …LogMsg("hndlServiceUpdateReply: error updating TXT record for service %##s", srs->RR_SRV.resrec.na… in hndlServiceUpdateReply()
2482 SetNewRData(&txt->resrec, txtInfo->InFlightRData, txtInfo->InFlightRDLen); in hndlServiceUpdateReply()
2496 srs->RR_SRV.resrec.name->c, info->state, err); in hndlServiceUpdateReply()
2551 info->OrigRData = txt->resrec.rdata; in hndlServiceUpdateReply()
2552 info->OrigRDLen = txt->resrec.rdlength; in hndlServiceUpdateReply()
2578 LogMsg("Update record failed for %##s (err %d)", rr->resrec.name->c, err); in hndlRecordUpdateReply()
2583 debugf("Update record %##s - success", rr->resrec.name->c); in hndlRecordUpdateReply()
2587 SetNewRData(&rr->resrec, info->InFlightRData, info->InFlightRDLen); in hndlRecordUpdateReply()
2595 …debugf("Received reply for deregister record %##s type %d", rr->resrec.name->c, rr->resrec.rrtype); in hndlRecordUpdateReply()
2597 rr->resrec.name->c, rr->resrec.rrtype, err); in hndlRecordUpdateReply()
2607 rr->resrec.name->c, rr->resrec.rrtype, err); in hndlRecordUpdateReply()
2610 …debugf("Calling deferred deregistration of record %##s type %d", rr->resrec.name->c, rr->resrec.r… in hndlRecordUpdateReply()
2627 LogMsg("Re-trying update of record %##s without lease option", rr->resrec.name->c); in hndlRecordUpdateReply()
2632 …egistration of record %##s type %d failed with error %ld", rr->resrec.name->c, rr->resrec.rrtype, … in hndlRecordUpdateReply()
2645 info->OrigRData = rr->resrec.rdata; in hndlRecordUpdateReply()
2646 info->OrigRDLen = rr->resrec.rdlength; in hndlRecordUpdateReply()
2677 if (lcr.r.resrec.rrtype == kDNSType_OPT) in SetUpdateExpiration()
2679 if (lcr.r.resrec.rdlength < LEASE_OPT_RDLEN) continue; in SetUpdateExpiration()
2680 if (lcr.r.resrec.rdata->u.opt.opt != kDNSOpt_Lease) continue; in SetUpdateExpiration()
2681 lease = lcr.r.resrec.rdata->u.opt.OptData.lease; in SetUpdateExpiration()
2815 err = checkUpdateResult(sptr->RR_SRV.resrec.name, rcode, m, msg, end); in uDNS_ReceiveMsg()
2825 err = checkUpdateResult(rptr->resrec.name, rcode, m, msg, end); in uDNS_ReceiveMsg()
2887 ResourceRecord *opt = &rr.resrec; in putLLQ()
2906 optRD = &rr.resrec.rdata->u.opt; in putLLQ()
2932 …0, kDNSRecordTypePacketAdd, &lcr); if (!ptr) return mDNSfalse; if (lcr.r.resrec.rrtype == kDNSType… in getLLQAtIndex()
2933 if (lcr.r.resrec.rrtype != kDNSType_OPT) return mDNSfalse; in getLLQAtIndex()
2934 if (lcr.r.resrec.rdlength < (index + 1) * LLQ_OPT_RDLEN) return mDNSfalse; // rdata too small in getLLQAtIndex()
2935 …umemcpy(llq, (mDNSu8 *)&lcr.r.resrec.rdata->u.opt.OptData.llq + (index * sizeof(*llq)), sizeof(*ll… in getLLQAtIndex()
3727 ResourceRecord *rr = &lcr.r.resrec; in hndlLookupSOA()
3798 const ResourceRecord *const rr = &lcr.r.resrec; in confirmNS()
3854 ResourceRecord *rr = &lcr.r.resrec; in lookupNSAddr()
3924 if (ResourceRecordAnswersQuestion(&lcr.r.resrec, &context->question)) in lookupDNSPort()
3926 *port = lcr.r.resrec.rdata->u.srv.port; in lookupDNSPort()
4099 ptr = putZone(&msg, ptr, end, &regInfo->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in sendRecordRegistration()
4105 SetNewRData(&rr->resrec, regInfo->OrigRData, regInfo->OrigRDLen); in sendRecordRegistration()
4106 if (!(ptr = putDeletionRecord(&msg, ptr, &rr->resrec))) goto error; // delete old rdata in sendRecordRegistration()
4109 SetNewRData(&rr->resrec, regInfo->InFlightRData, regInfo->InFlightRDLen); in sendRecordRegistration()
4110 …if (!(ptr = PutResourceRecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &rr->resrec, rr->resrec.r… in sendRecordRegistration()
4115 if (rr->resrec.RecordType == kDNSRecordTypeKnownUnique) in sendRecordRegistration()
4118 ptr = putDeleteRRSet(&msg, ptr, rr->resrec.name, rr->resrec.rrtype); in sendRecordRegistration()
4122 else if (rr->resrec.RecordType != kDNSRecordTypeShared) in sendRecordRegistration()
4124 ptr = putPrereqNameNotInUse(rr->resrec.name, &msg, ptr, end); in sendRecordRegistration()
4128 …ptr = PutResourceRecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &rr->resrec, rr->resrec.rrorigi… in sendRecordRegistration()
4135 …, ptr, mDNSInterface_Any, &regInfo->ns, regInfo->port, -1, GetAuthInfoForName(u, rr->resrec.name)); in sendRecordRegistration()
4179 newRR->resrec.name->c, newRR->resrec.rrtype); in RecordRegistrationCallback()
4191 if (newRR->resrec.rrclass != zoneData->zoneClass) in RecordRegistrationCallback()
4194 newRR->resrec.rrclass, zoneData->zoneClass); in RecordRegistrationCallback()
4204 newRR->resrec.name->c, zoneData->zoneName.c); in RecordRegistrationCallback()
4260 SetNewRData(&srs->RR_PTR.resrec, mDNSNULL, 0); in SendServiceRegistration()
4261 SetNewRData(&srs->RR_TXT.resrec, mDNSNULL, 0); in SendServiceRegistration()
4267 privport = srv->resrec.rdata->u.srv.port; in SendServiceRegistration()
4268 srv->resrec.rdata->u.srv.port = nat->PublicPort; in SendServiceRegistration()
4274 ptr = putZone(&msg, ptr, end, &rInfo->zone, mDNSOpaque16fromIntVal(srv->resrec.rrclass)); in SendServiceRegistration()
4280 …if (!(ptr = PutResourceRecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numPrereqs, &srs->RR_SRV.resrec, 0)))… in SendServiceRegistration()
4281 …if (!(ptr = putDeleteRRSet(&msg, ptr, srs->RR_TXT.resrec.name, srs->RR_TXT.resrec.rrtype))) … in SendServiceRegistration()
4287 ptr = putPrereqNameNotInUse(srv->resrec.name, &msg, ptr, end); in SendServiceRegistration()
4292 …RecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &srs->RR_PTR.resrec, srs->RR_PTR.resrec.rrorigin… in SendServiceRegistration()
4295 …TLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &srs->SubTypes[i].resrec, srs->SubTypes[i].resrec.rrori… in SendServiceRegistration()
4302 SetNewRData(&txt->resrec, txtInfo->OrigRData, txtInfo->OrigRDLen); in SendServiceRegistration()
4303 if (!(ptr = putDeletionRecord(&msg, ptr, &srs->RR_TXT.resrec))) goto error; // delete old rdata in SendServiceRegistration()
4306 SetNewRData(&txt->resrec, txtInfo->InFlightRData, txtInfo->InFlightRDLen); in SendServiceRegistration()
4307 …RecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &srs->RR_TXT.resrec, srs->RR_TXT.resrec.rrorigin… in SendServiceRegistration()
4310 …RecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &srs->RR_TXT.resrec, srs->RR_TXT.resrec.rrorigin… in SendServiceRegistration()
4314 debugf("Couldn't get target for service %##s", srv->resrec.name->c); in SendServiceRegistration()
4319 if (!SameDomainName(&target, &srv->resrec.rdata->u.srv.target)) in SendServiceRegistration()
4321 AssignDomainName(&srv->resrec.rdata->u.srv.target, &target); in SendServiceRegistration()
4322 SetNewRData(&srv->resrec, mDNSNULL, 0); in SendServiceRegistration()
4325 …ptr = PutResourceRecordTTLJumbo(&msg, ptr, &msg.h.mDNS_numUpdates, &srv->resrec, srv->resrec.rrori… in SendServiceRegistration()
4331 …r, mDNSInterface_Any, &rInfo->ns, rInfo->port, -1, GetAuthInfoForName(u, srs->RR_SRV.resrec.name)); in SendServiceRegistration()
4339 if (mapped) srv->resrec.rdata->u.srv.port = privport; in SendServiceRegistration()
4344 if (mapped) srv->resrec.rdata->u.srv.port = privport; in SendServiceRegistration()
4380 if (srs->RR_SRV.resrec.rrclass != zoneData->zoneClass) in serviceRegistrationCallback()
4382 LogMsg("Service %##s - class does not match zone", srs->RR_SRV.resrec.name->c); in serviceRegistrationCallback()
4398 …if (srs->RR_SRV.resrec.rdata->u.srv.port.NotAnInteger && IsPrivateV4Addr(&m->uDNS_info.AdvertisedV… in serviceRegistrationCallback()
4414 domainname *target = GetRRDomainNameTarget(&rr->resrec); in SetupRecordRegistration()
4418 …if (ptr) { LogMsg("Error: SetupRecordRegistration - record %##s already in list!", rr->resrec.name… in SetupRecordRegistration()
4425 rr->resrec.name->c, rr->resrec.rrtype); in SetupRecordRegistration()
4429 rr->resrec.rdlength = GetRDLength(&rr->resrec, mDNSfalse); in SetupRecordRegistration()
4430 rr->resrec.rdestimate = GetRDLength(&rr->resrec, mDNStrue); in SetupRecordRegistration()
4432 if (!ValidateDomainName(rr->resrec.name)) in SetupRecordRegistration()
4439 if (!ValidateRData(rr->resrec.rrtype, rr->resrec.rdlength, rr->resrec.rdata)) in SetupRecordRegistration()
4445 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in SetupRecordRegistration()
4446 …rr->resrec.rdatahash = target ? DomainNameHashValue(target) : RDataHashValue(rr->resrec.rdlength,… in SetupRecordRegistration()
4460 …else return startGetZoneData(rr->resrec.name, m, mDNStrue, mDNSfalse, RecordRegistrationCallback, … in uDNS_RegisterRecord()
4473 ptr = putZone(&msg, ptr, end, &rr->uDNS_info.zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordDeregistration()
4475 if (!(ptr = putDeletionRecord(&msg, ptr, &rr->resrec))) goto error; in SendRecordDeregistration()
4477 …SInterface_Any, &rr->uDNS_info.ns, rr->uDNS_info.port, -1, GetAuthInfoForName(u, rr->resrec.name)); in SendRecordDeregistration()
4519 …LogMsg("Deferring deregistration of record %##s until registration completes", rr->resrec.name->c); in uDNS_DeregisterRecord()
4527 rr->resrec.name->c, rr->resrec.rrtype); in uDNS_DeregisterRecord()
4531 rr->resrec.name->c, rr->resrec.rrtype); in uDNS_DeregisterRecord()
4535 …LogMsg("ERROR: uDNS_DeregisterRecord called for record %##s with bad state %s", rr->resrec.name->c… in uDNS_DeregisterRecord()
4564 …if (*p) { LogMsg("uDNS_RegisterService: %p %##s already in list", srs, srs->RR_SRV.resrec.name->c)… in uDNS_RegisterService()
4569 srs->RR_SRV.resrec.rroriginalttl = kWideAreaTTL; in uDNS_RegisterService()
4570 srs->RR_TXT.resrec.rroriginalttl = kWideAreaTTL; in uDNS_RegisterService()
4571 srs->RR_PTR.resrec.rroriginalttl = kWideAreaTTL; in uDNS_RegisterService()
4572 for (i = 0; i < srs->NumSubTypes;i++) srs->SubTypes[i].resrec.rroriginalttl = kWideAreaTTL; in uDNS_RegisterService()
4576 srs->RR_SRV.resrec.rdata->u.srv.target.c[0] = 0; in uDNS_RegisterService()
4580 debugf("uDNS_RegisterService - no target for %##s", srs->RR_SRV.resrec.name->c); in uDNS_RegisterService()
4586 …return startGetZoneData(srs->RR_SRV.resrec.name, m, mDNStrue, mDNSfalse, serviceRegistrationCallba… in uDNS_RegisterService()
4604 ptr = putZone(&msg, ptr, end, &info->zone, mDNSOpaque16fromIntVal(srs->RR_SRV.resrec.rrclass)); in SendServiceDeregistration()
4607 …if (!(ptr = putDeleteAllRRSets(&msg, ptr, srs->RR_SRV.resrec.name))) goto error; // this deletes … in SendServiceDeregistration()
4608 if (!(ptr = putDeletionRecord(&msg, ptr, &srs->RR_PTR.resrec))) goto error; in SendServiceDeregistration()
4610 if (!(ptr = putDeletionRecord(&msg, ptr, &srs->SubTypes[i].resrec))) goto error; in SendServiceDeregistration()
4613 …ptr, mDNSInterface_Any, &info->ns, info->port, -1, GetAuthInfoForName(u, srs->RR_SRV.resrec.name)); in SendServiceDeregistration()
4647 debugf("uDNS_DeregisterService - service %##s not registered", srs->RR_SRV.resrec.name->c); in uDNS_DeregisterService()
4662 debugf("Double deregistration of service %##s", srs->RR_SRV.resrec.name->c); in uDNS_DeregisterService()
4691 …extra->r.resrec.RecordType = kDNSRecordTypeShared; // don't want it to conflict with the service … in uDNS_AddRecordToService()
4744 if (info->UpdateRDCallback) info->UpdateRDCallback(m, rr, rr->resrec.rdata); in uDNS_UpdateRecord()
4745 SetNewRData(&rr->resrec, rr->NewRData, rr->newrdlength); in uDNS_UpdateRecord()
4762 info->OrigRData = rr->resrec.rdata; in uDNS_UpdateRecord()
4763 info->OrigRDLen = rr->resrec.rdlength; in uDNS_UpdateRecord()
4773 …R: uDNS_UpdateRecord called for record %##s with bad state regState_NATError", rr->resrec.name->c); in uDNS_UpdateRecord()
4779 rr->resrec.name->c, rr->resrec.rrtype); in uDNS_UpdateRecord()
4845 q->QuestionCallback(m, q, &cr->resrec, mDNSfalse); in CheckQueries()
4931 debugf("Retransmit record %s %##s", op, rr->resrec.name->c); in CheckRecordRegistrations()
4943 debugf("refreshing record %##s", rr->resrec.name->c); in CheckRecordRegistrations()
4978 debugf("Retransmit service %s %##s", op, srs->RR_SRV.resrec.name->c); in CheckServiceRegistrations()
4991 debugf("refreshing service %##s", srs->RR_SRV.resrec.name->c); in CheckServiceRegistrations()
5145 ptr = putZone(&msg, ptr, end, &rr->uDNS_info.zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SleepRecordRegistrations()
5147 ptr = putDeletionRecord(&msg, ptr, &rr->resrec); in SleepRecordRegistrations()
5150 …ny, &rr->uDNS_info.ns, rr->uDNS_info.port, -1, GetAuthInfoForName(&m->uDNS_info, rr->resrec.name)); in SleepRecordRegistrations()
5201 SetNewRData(&txt->resrec, txtInfo->InFlightRData, txtInfo->InFlightRDLen); in SleepServiceRegistrations()
5213 srs->RR_SRV.resrec.rdata->u.srv.target.c[0] = 0; in SleepServiceRegistrations()