Lines Matching refs:dstaddr
6217 const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveQuery() argument
6221 mDNSBool QueryWasLocalUnicast = srcaddr && dstaddr && in mDNSCoreReceiveQuery()
6222 !mDNSAddrIsDNSMulticast(dstaddr) && mDNS_AddressIsLocalSubnet(m, InterfaceID, srcaddr); in mDNSCoreReceiveQuery()
6224 if (!InterfaceID && dstaddr && mDNSAddrIsDNSMulticast(dstaddr)) in mDNSCoreReceiveQuery()
6228 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveQuery()
6238 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveQuery()
6245 …!mDNSSameIPPort(srcport, MulticastDNSPort), mDNSAddrIsDNSMulticast(dstaddr), QueryWasLocalUnicast,… in mDNSCoreReceiveQuery()
6471 const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveResponse() argument
6475 mDNSBool ResponseMCast = dstaddr && mDNSAddrIsDNSMulticast(dstaddr); in mDNSCoreReceiveResponse()
6497 srcaddr, dstaddr, InterfaceID, in mDNSCoreReceiveResponse()
6545 … if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &q, !dstaddr))) in mDNSCoreReceiveResponse()
6589 mDNSBool AcceptableResponse = ResponseMCast || !dstaddr || LLQType; in mDNSCoreReceiveResponse()
6646 else if (!AcceptableResponse || !dstaddr) in mDNSCoreReceiveResponse()
6653 …icastResponseForRecord(m, srcaddr, ResponseSrcLocal, dstport, response->h.id, &m->rec.r, !dstaddr); in mDNSCoreReceiveResponse()
7054 if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &q, !dstaddr))) in mDNSCoreReceiveResponse()
7235 const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveUpdate() argument
7247 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveUpdate()
7256 DumpPacket(m, mStatus_NoError, mDNSfalse, "UDP", srcaddr, srcport, dstaddr, dstport, msg, end); in mDNSCoreReceiveUpdate()
7477 …const mDNSAddr *const srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, const mDNSIPPort… in mDNSCoreReceive() argument
7488 …mDNSBool TLS = (dstaddr == (mDNSAddr *)1); // For debug logs: dstaddr = 0 means TCP; dstaddr = 1 m… in mDNSCoreReceive()
7489 if (TLS) dstaddr = mDNSNULL; in mDNSCoreReceive()
7518 …from %#a:%d to %#a:%d length %d too short", srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstpor… in mDNSCoreReceive()
7538 if (!dstaddr || (!mDNSAddressIsAllDNSLinkGroup(dstaddr) && (QR_OP == StdR || QR_OP == UpdR))) in mDNSCoreReceive()
7543 …cket(m, mStatus_NoError, mDNSfalse, TLS ? "TLS" : !dstaddr ? "TCP" : "UDP", srcaddr, srcport, dsta… in mDNSCoreReceive()
7548 …if (QR_OP == StdQ) mDNSCoreReceiveQuery (m, msg, end, srcaddr, srcport, dstaddr, dstport, i… in mDNSCoreReceive()
7549 …else if (QR_OP == StdR) mDNSCoreReceiveResponse(m, msg, end, srcaddr, srcport, dstaddr, dstport, i… in mDNSCoreReceive()
7550 …else if (QR_OP == UpdQ) mDNSCoreReceiveUpdate (m, msg, end, srcaddr, srcport, dstaddr, dstport, I… in mDNSCoreReceive()
7555 …msg->h.flags.b[0], msg->h.flags.b[1], srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), en… in mDNSCoreReceive()