Lines Matching refs:ar
1884 while (*ptr && &(*ptr)->ar != rr) ptr = &(*ptr)->next;
1905 mDNS_SetupResourceRecord(&ptr->ar, mDNSNULL, mDNSInterface_LocalOnly, kDNSType_PTR, 7200, kDNSRecordTypeShared, AuthRecordLocalOnly, FreeARElemCallback, ptr);
1906 MakeDomainNameFromDNSNameString(&ptr->ar.namestorage, mDNS_DomainTypeNames[type]);
1907 AppendDNSNameString (&ptr->ar.namestorage, "local");
1908 AssignDomainName(&ptr->ar.resrec.rdata->u.name, d);
1909 err = mDNS_Register(m, &ptr->ar);
1937 if (SameDomainName(&(*ptr)->ar.resrec.rdata->u.name, d) && SameDomainName((*ptr)->ar.resrec.name, &lhs))
1941 mDNS_Deregister(m, &rem->ar);
4103 mDNS_Deregister(&mDNSStorage, &rem->ar);
4207 const AuthRecord *ar;
4218 for (ar = ag->members; ar; ar = ar->next)
4220 if (ar->RecordCallback != FreeEtcHosts) continue;
4225 if (ar->ARType == AuthRecordLocalOnly)
4227 if (ar->resrec.InterfaceID == mDNSInterface_LocalOnly)
4228 LogMsgNoIdent(" %s LO %s", RecordTypeName(ar->resrec.RecordType), ARDisplayString(m, ar));
4231 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID;
4232 LogMsgNoIdent(" %s %u %s", RecordTypeName(ar->resrec.RecordType), scopeid, ARDisplayString(m, ar));
4246 const AuthRecord *ar;
4253 for (ar = ag->members; ar; ar = ar->next)
4255 if (ar->RecordCallback == FreeEtcHosts) continue;
4259 if (ar->ARType == AuthRecordLocalOnly)
4260 LogMsgNoIdent(" %s LO %s", RecordTypeName(ar->resrec.RecordType), ARDisplayString(m, ar));
4261 else if (ar->ARType == AuthRecordP2P)
4262 LogMsgNoIdent(" %s PP %s", RecordTypeName(ar->resrec.RecordType), ARDisplayString(m, ar));
4273 const AuthRecord *ar;
4275 for (ar = ResourceRecords; ar; ar=ar->next)
4277 const char *const ifname = InterfaceNameForID(m, ar->resrec.InterfaceID);
4278 if ((ar->WakeUp.HMAC.l[0] != 0) == (proxy != mDNSNULL))
4282 if (!mDNSPlatformMemSame(&owner, &ar->WakeUp, sizeof(owner)))
4284 owner = ar->WakeUp;
4292 if (AuthRecord_uDNS(ar))
4294 ar->ThisAPInterval / mDNSPlatformOneSecond,
4295 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond,
4296 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0,
4297 ar->state, ARDisplayString(m, ar));
4298 else if (ar->ARType == AuthRecordLocalOnly)
4299 LogMsgNoIdent(" LO %s", ARDisplayString(m, ar));
4300 else if (ar->ARType == AuthRecordP2P)
4301 LogMsgNoIdent(" PP %s", ARDisplayString(m, ar));
4304 ar->ThisAPInterval / mDNSPlatformOneSecond,
4305 ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0,
4306 ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0,
4308 ARDisplayString(m, ar));
4624 if (b->next == (ARListElem *)~0 || b->ar.resrec.name->c[0] > 63)
4625 LogMemCorruption("LocalDomainEnumRecords: %p is garbage (%d)", b, b->ar.resrec.name->c[0]);