Lines Matching refs:newRR
3749 AuthRecord *newRR = (AuthRecord*)zoneData->ZoneDataContext; in RecordRegistrationGotZoneData() local
3753 if (newRR->nta != zoneData) in RecordRegistrationGotZoneData()
3754 …Data: nta (%p) != zoneData (%p) %##s (%s)", newRR->nta, zoneData, newRR->resrec.name->c, DNSTypeN… in RecordRegistrationGotZoneData()
3760 for (ptr = m->ResourceRecords; ptr; ptr = ptr->next) if (ptr == newRR) break; 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()
3780 if (newRR->resrec.rrclass != zoneData->ZoneClass) in RecordRegistrationGotZoneData()
3782 …LogMsg("ERROR: New resource record's class (%d) does not match zone class (%d)", newRR->resrec.rrc… in RecordRegistrationGotZoneData()
3783 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3784 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3793 …onGotZoneData: No name server found claiming responsibility for \"%##s\"!", newRR->resrec.name->c); in RecordRegistrationGotZoneData()
3794 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3795 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3800 c1 = CountLabels(newRR->resrec.name); in RecordRegistrationGotZoneData()
3804 …nGotZoneData: Zone \"%##s\" is longer than \"%##s\"", zoneData->ZoneName.c, newRR->resrec.name->c); in RecordRegistrationGotZoneData()
3805 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3806 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3809 newRR->zone = SkipLeadingLabels(newRR->resrec.name, c1-c2); in RecordRegistrationGotZoneData()
3810 if (!SameDomainName(newRR->zone, &zoneData->ZoneName)) in RecordRegistrationGotZoneData()
3812 …: Zone \"%##s\" does not match \"%##s\" for \"%##s\"", newRR->zone->c, zoneData->ZoneName.c, newRR… in RecordRegistrationGotZoneData()
3813 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3814 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3820 …LogInfo("RecordRegistrationGotZoneData: No _dns-update._udp service found for \"%##s\"!", newRR->r… in RecordRegistrationGotZoneData()
3821 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3822 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3826 newRR->Private = zoneData->ZonePrivate; in RecordRegistrationGotZoneData()
3828 newRR->resrec.name->c, zoneData->ZoneName.c, &zoneData->Addr, mDNSVal16(zoneData->Port)); in RecordRegistrationGotZoneData()
3831 if (newRR->state == regState_DeregPending) in RecordRegistrationGotZoneData()
3834 uDNS_DeregisterRecord(m, newRR); in RecordRegistrationGotZoneData()
3839 if (newRR->resrec.rrtype == kDNSType_SRV) in RecordRegistrationGotZoneData()
3845 target = GetServiceTarget(m, newRR); in RecordRegistrationGotZoneData()
3849 domainname *t = GetRRDomainNameTarget(&newRR->resrec); in RecordRegistrationGotZoneData()
3850 LogInfo("RecordRegistrationGotZoneData - no target for %##s", newRR->resrec.name->c); in RecordRegistrationGotZoneData()
3852 newRR->resrec.rdlength = newRR->resrec.rdestimate = 0; in RecordRegistrationGotZoneData()
3853 newRR->state = regState_NoTarget; in RecordRegistrationGotZoneData()
3854 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3855 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3863 if (newRR->resrec.rrtype == kDNSType_SRV && !mDNSIPPortIsZero(newRR->resrec.rdata->u.srv.port) && in RecordRegistrationGotZoneData()
3864 …mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4) && newRR->nta && !mDNSAddrIsRFC1918(&newRR->nta->Addr)… in RecordRegistrationGotZoneData()
3865 newRR->AutoTarget == Target_AutoHostAndNATMAP) in RecordRegistrationGotZoneData()
3868 AuthInfo = GetAuthInfoForName(m, newRR->resrec.name); in RecordRegistrationGotZoneData()
3871 domainname *t = GetRRDomainNameTarget(&newRR->resrec); in RecordRegistrationGotZoneData()
3872 …onGotZoneData: ERROR!! AutoTunnel has Target_AutoHostAndNATMAP for %s", ARDisplayString(m, newRR)); in RecordRegistrationGotZoneData()
3874 newRR->resrec.rdlength = newRR->resrec.rdestimate = 0; in RecordRegistrationGotZoneData()
3875 newRR->state = regState_NoTarget; in RecordRegistrationGotZoneData()
3876 CancelGetZoneData(m, newRR->nta); in RecordRegistrationGotZoneData()
3877 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3882 if (!newRR->NATinfo.clientContext) in RecordRegistrationGotZoneData()
3884 LogInfo("RecordRegistrationGotZoneData StartRecordNatMap %s", ARDisplayString(m, newRR)); in RecordRegistrationGotZoneData()
3885 newRR->state = regState_NATMap; in RecordRegistrationGotZoneData()
3886 StartRecordNatMap(m, newRR); in RecordRegistrationGotZoneData()
3889 …RecordNatMap for %s, state %d, context %p", ARDisplayString(m, newRR), newRR->state, newRR->NATinf… in RecordRegistrationGotZoneData()
3897 if (newRR->updateError == mStatus_NoError) in RecordRegistrationGotZoneData()
3899 newRR->ThisAPInterval = INIT_RECORD_REG_INTERVAL; in RecordRegistrationGotZoneData()
3900 newRR->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in RecordRegistrationGotZoneData()
3902 if (IsRecordMergeable(m, newRR, m->timenow + MERGE_DELAY_TIME)) in RecordRegistrationGotZoneData()
3906 LogInfo("RecordRegistrationGotZoneData: Delayed registration for %s", ARDisplayString(m, newRR)); in RecordRegistrationGotZoneData()
3907 newRR->LastAPTime += MERGE_DELAY_TIME; in RecordRegistrationGotZoneData()