• Home
  • Raw
  • Download

Lines Matching refs:pktrr

264 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()
503 …ourceRecord(const mDNSAddr *const srcaddr, const char *const op, const ResourceRecord *const pktrr) in DisplayResourceRecord() argument
510 RDataBody *rd = &pktrr->rdata->u; in DisplayResourceRecord()
511 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; in DisplayResourceRecord()
512 …-16a %-5s %-5s%5lu %##s -> ", srcaddr, op, DNSTypeName(pktrr->rrtype), pktrr->rroriginalttl, pktrr in DisplayResourceRecord()
514 …if (pktrr->RecordType == kDNSRecordTypePacketNegative) { mprintf("**** ERROR: FAILED TO READ RDATA… in DisplayResourceRecord()
518 switch(pktrr->rrtype) in DisplayResourceRecord()
554 …iplen = mDNS_snprintf(b, MaxMsg-1, "%4d %##s %s ", pktrr->rdlength, pktrr->name->c, DNSTypeName(pk… in DisplayResourceRecord()
555 GetRRDisplayString_rdb(pktrr, &pktrr->rdata->u, b); in DisplayResourceRecord()