Home
last modified time | relevance | path

Searched refs:pktrr (Results 1 – 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DNetMonitor.c264 mDNSlocal void RecordHostInfo(HostEntry *entry, const ResourceRecord *const pktrr) in RecordHostInfo() argument
268 if (pktrr->rrtype == kDNSType_A || pktrr->rrtype == kDNSType_AAAA) in RecordHostInfo()
272 AssignDomainName(&entry->hostname, pktrr->name); in RecordHostInfo()
275 if (pktrr->rrtype == kDNSType_PTR) in RecordHostInfo()
276 if (SameDomainName(&entry->revname, pktrr->name)) in RecordHostInfo()
279 AssignDomainName(&entry->hostname, &pktrr->rdata->u.name); in RecordHostInfo()
282 else if (pktrr->rrtype == kDNSType_HINFO) in RecordHostInfo()
284 RDataBody *rd = &pktrr->rdata->u; in RecordHostInfo()
285 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; in RecordHostInfo()
290 AssignDomainName(&entry->hostname, pktrr->name); in RecordHostInfo()
[all …]
/external/mdnsresponder/mDNSCore/
DmDNS.c636 mDNSlocal mDNSBool PacketRRMatchesSignature(const CacheRecord *const pktrr, const AuthRecord *const… in PacketRRMatchesSignature() argument
638 if (!pktrr) { LogMsg("PacketRRMatchesSignature ERROR: pktrr is NULL"); return(mDNSfalse); } in PacketRRMatchesSignature()
640 if (pktrr->resrec.InterfaceID && in PacketRRMatchesSignature()
642 pktrr->resrec.InterfaceID != authrr->resrec.InterfaceID) return(mDNSfalse); in PacketRRMatchesSignature()
644 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse); in PacketRRMatchesSignature()
646 pktrr->resrec.rrclass == authrr->resrec.rrclass && in PacketRRMatchesSignature()
647 pktrr->resrec.namehash == authrr->resrec.namehash && in PacketRRMatchesSignature()
648 SameDomainName(pktrr->resrec.name, authrr->resrec.name)); in PacketRRMatchesSignature()
5518 mDNSlocal mDNSBool MatchDependentOn(const mDNS *const m, const CacheRecord *const pktrr, const Auth… in MatchDependentOn() argument
5523 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec)) in MatchDependentOn()
[all …]