Lines Matching refs:pkt
461 DNSQuestion *q, LargeCacheRecord *pkt) in FindUpdate() argument
467 ptr = GetLargeResourceRecord(m, query, ptr, end, q->InterfaceID, kDNSRecordTypePacketAuth, pkt); in FindUpdate()
469 …cordType != kDNSRecordTypePacketNegative && ResourceRecordAnswersQuestion(&pkt->r.resrec, q)) retu… in FindUpdate()
617 LargeCacheRecord pkt; in DisplayQuery() local
633 p2 = (mDNSu8 *)FindUpdate(m, msg, auth, end, &q, &pkt); in DisplayQuery()
637 DisplayResourceRecord(srcaddr, ucbit ? "(PU)" : "(PM)", &pkt.r.resrec); in DisplayQuery()
656 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAns, &pkt); in DisplayQuery()
658 DisplayResourceRecord(srcaddr, "(KA)", &pkt.r.resrec); in DisplayQuery()
664 recordstat(entry, pkt.r.resrec.name, OP_query, pkt.r.resrec.rrtype); in DisplayQuery()
670 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAuth, &pkt); in DisplayQuery()
674 …if (pkt.r.resrec.rrtype || pkt.r.resrec.rrclass) DisplayResourceRecord(srcaddr, "(AU)", &pkt.r.res… in DisplayQuery()
680 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAdd, &pkt); in DisplayQuery()
682 …DisplayResourceRecord(srcaddr, pkt.r.resrec.rrtype == kDNSType_OPT ? "(OP)" : "(AD)", &pkt.r.resre… in DisplayQuery()
694 LargeCacheRecord pkt; in DisplayResponse() local
714 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAns, &pkt); in DisplayResponse()
716 if (pkt.r.resrec.rroriginalttl) in DisplayResponse()
719 …DisplayResourceRecord(srcaddr, (pkt.r.resrec.RecordType & kDNSRecordTypePacketUniqueMask) ? "(AN)"… in DisplayResponse()
720 …if (msg->h.id.NotAnInteger != 0xFFFF) recordstat(entry, pkt.r.resrec.name, OP_answer, pkt.r.resrec… in DisplayResponse()
721 if (entry) RecordHostInfo(entry, &pkt.r.resrec); in DisplayResponse()
726 DisplayResourceRecord(srcaddr, "(DE)", &pkt.r.resrec); in DisplayResponse()
727 recordstat(entry, pkt.r.resrec.name, OP_goodbye, pkt.r.resrec.rrtype); in DisplayResponse()
734 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAuth, &pkt); in DisplayResponse()
737 srcaddr, DNSTypeName(pkt.r.resrec.rrtype), pkt.r.resrec.name->c); in DisplayResponse()
743 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAdd, &pkt); in DisplayResponse()
747 …pkt.r.resrec.rrtype == kDNSType_OPT ? "(OP)" : (pkt.r.resrec.RecordType & kDNSRecordTypePacketUniq… in DisplayResponse()
748 &pkt.r.resrec); in DisplayResponse()
749 if (entry) RecordHostInfo(entry, &pkt.r.resrec); in DisplayResponse()
764 LargeCacheRecord pkt; in ProcessUnicastResponse() local
765 ptr = GetLargeResourceRecord(m, msg, ptr, end, InterfaceID, kDNSRecordTypePacketAns, &pkt); in ProcessUnicastResponse()
766 if (ptr && pkt.r.resrec.rroriginalttl && entry) RecordHostInfo(entry, &pkt.r.resrec); in ProcessUnicastResponse()