• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/

Lines Matching refs:RR_PTR

3057                     if (!IdenticalSameNameRecord(&cr->resrec, &m->SPSRecords.RR_PTR.resrec))    // and is not our own advertised service...
12452 mDNS_SetupResourceRecord(&set->RR_PTR, mDNSNULL, set->InterfaceID, kDNSType_PTR, kHostNameTTL, kDNSRecordTypeKnownUnique, AuthRecordAny, mDNSNULL, mDNSNULL);
12457 set->RR_PTR.AllowRemoteQuery = mDNStrue;
12487 MakeDomainNameFromDNSNameString(&set->RR_PTR.namestorage, buffer);
12488 set->RR_PTR.AutoTarget = Target_AutoHost; // Tell mDNS that the target of this PTR is to be kept in sync with our host name
12489 set->RR_PTR.ForceMCast = mDNStrue; // This PTR points to our dot-local name, so don't ever try to write it into a uDNS server
12498 mDNS_Register_internal(m, &set->RR_PTR);
12534 if (set->RR_PTR.resrec.RecordType) mDNS_Deregister_internal(m, &set->RR_PTR, mDNS_Dereg_normal);
13041 if (sr->RR_PTR.resrec.AnonInfo)
13043 LogMsg("SetAnonInfoSRS: Freeing AnonInfo for PTR record %##s, should have been freed already", sr->RR_PTR.resrec.name->c);
13044 FreeAnonInfo(sr->RR_PTR.resrec.AnonInfo);
13046 sr->RR_PTR.resrec.AnonInfo = AllocateAnonInfo(sr->RR_PTR.resrec.name, sr->AnonData, len, mDNSNULL);
13064 if (sr->RR_PTR.resrec.AnonInfo)
13066 FreeAnonInfo(sr->RR_PTR.resrec.AnonInfo);
13067 sr->RR_PTR.resrec.AnonInfo = mDNSNULL;
13115 if (sr->RR_PTR.resrec.RecordType != kDNSRecordTypeUnregistered) return;
13132 LogInfo("ServiceCallback: All records %s for %##s", (result == mStatus_MemFree ? "Unregistered" : "Registered"), sr->RR_PTR.resrec.name->c);
13203 mDNS_SetupResourceRecord(&sr->RR_PTR, mDNSNULL, InterfaceID, kDNSType_PTR, kStandardTTL, kDNSRecordTypeShared, artype, ServiceCallback, sr);
13207 sr->RR_PTR.AuthFlags = AuthFlagsWakeOnly;
13232 if (ConstructServiceName(&sr->RR_PTR.namestorage, mDNSNULL, type, domain) == mDNSNULL) return(mStatus_BadParamErr);
13237 AssignDomainName(&sr->RR_ADV.resrec.rdata->u.name, sr->RR_PTR.resrec.name);
13242 AssignDomainName(&sr->RR_PTR.resrec.rdata->u.name, sr->RR_SRV.resrec.name);
13243 sr->RR_PTR.Additional1 = &sr->RR_SRV;
13244 sr->RR_PTR.Additional2 = &sr->RR_TXT;
13299 // We register the RR_PTR last, because we want to be sure that in the event of a forced call to
13300 // mDNS_StartExit, the RR_PTR will be the last one to be forcibly deregistered, since that is what triggers
13306 if (!err) err = mDNS_Register_internal(m, &sr->RR_PTR);
13320 mDNSInterfaceID InterfaceID = sr->RR_PTR.resrec.InterfaceID;
13325 mDNS_SetupResourceRecord(&extra->r, rdata, sr->RR_PTR.resrec.InterfaceID,
13398 sr->RR_PTR.resrec.InterfaceID, sr->ServiceCallback, sr->ServiceContext, sr->flags);
13421 if (sr->RR_PTR.resrec.RecordType == kDNSRecordTypeUnregistered)
13426 else if (sr->RR_PTR.resrec.RecordType == kDNSRecordTypeDeregistering)
13469 status = mDNS_Deregister_internal(m, &sr->RR_PTR, drt);