Lines Matching refs:nta

1315 		if (q->nta) CancelGetZoneData(m, q->nta);  in startLLQHandshake()
1316 q->nta = StartGetZoneData(m, &q->qname, ZoneServiceLLQ, LLQGotZoneData, q); in startLLQHandshake()
1324 if (!q->nta) in startLLQHandshake()
1334 q->nta = StartGetZoneData(m, &q->qname, ZoneServiceLLQ, LLQGotZoneData, q); in startLLQHandshake()
1337 else if (!q->nta->Host.c[0]) in startLLQHandshake()
1340 …but HostName %d NULL, LongLived %d", q->qname.c, DNSTypeName(q->qtype), q->nta->Host.c[0], q->Long… in startLLQHandshake()
1342 …mDNSNULL, mDNSNULL, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q->nta->Host, q, mDNSNULL); in startLLQHandshake()
1728 (r->state == regState_Pending && r->nta && !mDNSIPv4AddressIsZero(r->nta->Addr.ip.v4))) in UpdateAllServiceRecords()
1761 if (!rr->nta || mDNSIPv4AddressIsZero(rr->nta->Addr.ip.v4)) in CompleteRecordNatMap()
1941 mDNSBool HaveZoneData = rr->nta && !mDNSIPv4AddressIsZero(rr->nta->Addr.ip.v4); in UpdateOneSRVRecord()
1949 …ort) && mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4) && rr->nta && !mDNSAddrIsRFC1918(&rr->nta->Add… in UpdateOneSRVRecord()
2644 if (!rr->nta || mDNSIPv4AddressIsZero(rr->nta->Addr.ip.v4)) in SendRecordRegistration()
2670 …if (!rr->nta) { LogMsg("SendRecordRegistration:Private:ERROR!! nta is NULL for %s", ARDisplayStrin… in SendRecordRegistration()
2671 …MakeTCPConn(m, &m->omsg, ptr, kTCPSocketFlags_UseTLS, &rr->nta->Addr, rr->nta->Port, &rr->nta->Hos… in SendRecordRegistration()
2676 …if (!rr->nta) { LogMsg("SendRecordRegistration:ERROR!! nta is NULL for %s", ARDisplayString(m, rr)… in SendRecordRegistration()
2677 …err = mDNSSendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &rr->nta->Addr, rr->nta->P… in SendRecordRegistration()
2724 if (!rr->nta || mDNSIPv4AddressIsZero(rr->nta->Addr.ip.v4)) return mDNSfalse; in IsRecordMergeable()
2743 if (!mDNSSameIPv4Address(currentRR->nta->Addr.ip.v4, rr->nta->Addr.ip.v4)) return mDNSfalse; in AreRecordsMergeable()
2745 if (!mDNSSameIPPort(currentRR->nta->Port, rr->nta->Port)) return mDNSfalse; in AreRecordsMergeable()
2787 …if (!anchorRR->nta) { LogMsg("SendGroupRRMessage:ERROR!! nta is NULL for %s", ARDisplayString(m, a… in SendGroupRRMessage()
2788 …m, &m->omsg, ptr, kTCPSocketFlags_UseTLS, &anchorRR->nta->Addr, anchorRR->nta->Port, &anchorRR->nt… in SendGroupRRMessage()
2794 …ssage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &anchorRR->nta->Addr, anchorRR->nta->Port, mD… in SendGroupRRMessage()
3175 if (rr->nta) in hndlRecordUpdateReply()
3180 if (rr->nta->question.ThisQInterval != -1) in hndlRecordUpdateReply()
3182 …ARDisplayString(m, rr), rr->nta->question.qname.c, DNSTypeName(rr->nta->question.qtype), rr->nta->… in hndlRecordUpdateReply()
3183 UpdatePort = rr->nta->Port; in hndlRecordUpdateReply()
3184 CancelGetZoneData(m, rr->nta); in hndlRecordUpdateReply()
3185 rr->nta = mDNSNULL; in hndlRecordUpdateReply()
3612 …if (!q->nta) { LogMsg("sendLLQRefresh:ERROR!! q->nta is NULL for %##s (%s)", q->qname.c, DNSTypeNa… in sendLLQRefresh()
3613 …q->tcp = MakeTCPConn(m, &m->omsg, end, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q->nta-… in sendLLQRefresh()
3660 if (q->nta) in LLQGotZoneData()
3662 …if (q->nta != zoneInfo) LogMsg("LLQGotZoneData: nta (%p) != zoneInfo (%p) %##s (%s)", q->nta, zon… in LLQGotZoneData()
3663 CancelGetZoneData(m, q->nta); in LLQGotZoneData()
3664 q->nta = mDNSNULL; in LLQGotZoneData()
3673 if (q->nta) in LLQGotZoneData()
3675 …if (q->nta != zoneInfo) LogMsg("LLQGotZoneData: nta (%p) != zoneInfo (%p) %##s (%s)", q->nta, zon… in LLQGotZoneData()
3676 CancelGetZoneData(m, q->nta); in LLQGotZoneData()
3677 q->nta = mDNSNULL; in LLQGotZoneData()
3698 …if (q->nta != zoneInfo) LogMsg("PrivateQueryGotZoneData:ERROR!!: nta (%p) != zoneInfo (%p) %##s (… in PrivateQueryGotZoneData()
3706 CancelGetZoneData(m, q->nta); in PrivateQueryGotZoneData()
3707 q->nta = mDNSNULL; in PrivateQueryGotZoneData()
3717 CancelGetZoneData(m, q->nta); in PrivateQueryGotZoneData()
3718 q->nta = mDNSNULL; in PrivateQueryGotZoneData()
3729 CancelGetZoneData(m, q->nta); in PrivateQueryGotZoneData()
3730 q->nta = mDNSNULL; in PrivateQueryGotZoneData()
3736 …if (!q->nta) { LogMsg("PrivateQueryGotZoneData:ERROR!! nta is NULL for %##s (%s)", q->qname.c, DNS… in PrivateQueryGotZoneData()
3737 …LL, mDNSNULL, kTCPSocketFlags_UseTLS, &zoneInfo->Addr, zoneInfo->Port, &q->nta->Host, q, mDNSNULL); in PrivateQueryGotZoneData()
3738 if (q->nta) { CancelGetZoneData(m, q->nta); q->nta = mDNSNULL; } in PrivateQueryGotZoneData()
3753 if (newRR->nta != zoneData) in RecordRegistrationGotZoneData()
3754 …LogMsg("RecordRegistrationGotZoneData: nta (%p) != zoneData (%p) %##s (%s)", newRR->nta, zoneData… in RecordRegistrationGotZoneData()
3764 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3765 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3773 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3774 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3783 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3784 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3794 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3795 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3805 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3806 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3813 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3814 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3821 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3822 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3854 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3855 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3864 …mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4) && newRR->nta && !mDNSAddrIsRFC1918(&newRR->nta->Addr)… in RecordRegistrationGotZoneData()
3876 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3877 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3921 if (!rr->nta || mDNSIPv4AddressIsZero(rr->nta->Addr.ip.v4)) in SendRecordDeregistration()
3947 …if (!rr->nta) { LogMsg("SendRecordDeregistration:Private:ERROR!! nta is NULL for %s", ARDisplayStr… in SendRecordDeregistration()
3948 …MakeTCPConn(m, &m->omsg, ptr, kTCPSocketFlags_UseTLS, &rr->nta->Addr, rr->nta->Port, &rr->nta->Hos… in SendRecordDeregistration()
3954 …if (!rr->nta) { LogMsg("SendRecordDeregistration:ERROR!! nta is NULL for %s", ARDisplayString(m, r… in SendRecordDeregistration()
3955 …err = mDNSSendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &rr->nta->Addr, rr->nta->P… in SendRecordDeregistration()
4256 if (q->nta) CancelGetZoneData(m, q->nta); in uDNS_CheckCurrentQuestion()
4257 …q->nta = StartGetZoneData(m, &q->qname, q->LongLived ? ZoneServiceLLQ : ZoneServiceQuery, PrivateQ… in uDNS_CheckCurrentQuestion()
4530 if (!rr->nta || mDNSIPv4AddressIsZero(rr->nta->Addr.ip.v4)) in CheckRecordUpdates()
4534 if (rr->nta) { rr->updateid = zeroID; CancelGetZoneData(m, rr->nta); } in CheckRecordUpdates()
4535 …rr->nta = StartGetZoneData(m, rr->resrec.name, ZoneServiceUpdate, RecordRegistrationGotZoneData, r… in CheckRecordUpdates()
4626 if (rr->nta) { rr->updateid = zeroID; CancelGetZoneData(m, rr->nta); rr->nta = mDNSNULL; } in SleepRecordRegistrations()