• Home
  • Raw
  • Download

Lines Matching refs:InterfaceID

132 	if (next) return(next->InterfaceID); else return(mDNSNULL);  in GetNextActiveInterfaceID()
141 if (rr->resrec.InterfaceID == id) used++; in NumCacheRecordsForInterfaceID()
991 …ort void mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID, in mDNS_SetupResourceRecord() argument
1001 if (InterfaceID == mDNSInterface_LocalOnly && artype != AuthRecordLocalOnly) in mDNS_SetupResourceRecord()
1003 …ord: ERROR!! Mismatch LocalOnly record InterfaceID %p called with artype %d", InterfaceID, artype); in mDNS_SetupResourceRecord()
1006 else if (InterfaceID == mDNSInterface_P2P && artype != AuthRecordP2P) in mDNS_SetupResourceRecord()
1008 …rceRecord: ERROR!! Mismatch P2P record InterfaceID %p called with artype %d", InterfaceID, artype); in mDNS_SetupResourceRecord()
1011 else if (!InterfaceID && (artype == AuthRecordP2P || artype == AuthRecordLocalOnly)) in mDNS_SetupResourceRecord()
1013 …: ERROR!! Mismatch InterfaceAny record InterfaceID %p called with artype %d", InterfaceID, artype); in mDNS_SetupResourceRecord()
1025 rr->resrec.InterfaceID = InterfaceID; in mDNS_SetupResourceRecord()
1088 mDNSexport void mDNS_SetupQuestion(DNSQuestion *const q, const mDNSInterfaceID InterfaceID, const d… in mDNS_SetupQuestion() argument
1091 q->InterfaceID = InterfaceID; in mDNS_SetupQuestion()
1221 if ((rr->InterfaceID == mDNSInterface_LocalOnly) || (rr->InterfaceID == mDNSInterface_P2P)) in SameNameRecordAnswersQuestion()
1223 …n: ERROR!! called with LocalOnly ResourceRecord %p, Question %p", rr->InterfaceID, q->InterfaceID); in SameNameRecordAnswersQuestion()
1226 if (rr->InterfaceID && in SameNameRecordAnswersQuestion()
1227 q ->InterfaceID && q->InterfaceID != mDNSInterface_LocalOnly && in SameNameRecordAnswersQuestion()
1228 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1231 if (!rr->InterfaceID && rr->rDNSServer != q->qDNSServer) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1234 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1247 if ((rr->InterfaceID == mDNSInterface_LocalOnly) || (rr->InterfaceID == mDNSInterface_P2P)) in ResourceRecordAnswersQuestion()
1249 …RROR!! called with LocalOnly/P2P ResourceRecord %p, Question %p", rr->InterfaceID, q->InterfaceID); in ResourceRecordAnswersQuestion()
1253 if (rr->InterfaceID && in ResourceRecordAnswersQuestion()
1254 q ->InterfaceID && q->InterfaceID != mDNSInterface_LocalOnly && in ResourceRecordAnswersQuestion()
1255 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1258 if (!rr->InterfaceID && rr->rDNSServer != q->qDNSServer) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1261 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1298 if (rr->InterfaceID && in LocalOnlyRecordAnswersQuestion()
1299 …q->InterfaceID && q->InterfaceID != mDNSInterface_LocalOnly && q->InterfaceID != mDNSInterface_Uni… in LocalOnlyRecordAnswersQuestion()
1300 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1337 …if (ar->ARType != AuthRecordLocalOnly && rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) ret… in LocalOnlyRecordAnswersQuestion()
1350 if ((rr->InterfaceID == mDNSInterface_LocalOnly) || (rr->InterfaceID == mDNSInterface_P2P)) in AnyTypeRecordAnswersQuestion()
1352 …n: ERROR!! called with LocalOnly ResourceRecord %p, Question %p", rr->InterfaceID, q->InterfaceID); in AnyTypeRecordAnswersQuestion()
1355 if (rr->InterfaceID && in AnyTypeRecordAnswersQuestion()
1356 q ->InterfaceID && q->InterfaceID != mDNSInterface_LocalOnly && in AnyTypeRecordAnswersQuestion()
1357 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1362 if (!rr->InterfaceID && rr->rDNSServer != q->qDNSServer) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1365 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1380 if (rr->InterfaceID && in ResourceRecordAnswersUnicastResponse()
1381 q->InterfaceID && rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1384 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
2132 …const mDNSu8 *end, const mDNSInterfaceID InterfaceID, mDNSu8 RecordType, LargeCacheRecord *const l… in GetLargeResourceRecord() argument
2165 rr->resrec.InterfaceID = InterfaceID; in GetLargeResourceRecord()
2186 if (ptr[2] & (kDNSClass_UniqueRRSet >> 8) || (!InterfaceID && !(msg->h.flags.b[0] & kDNSFlag0_TC))) in GetLargeResourceRecord()
2409 …ion(const DNSMessage *msg, const mDNSu8 *ptr, const mDNSu8 *end, const mDNSInterfaceID InterfaceID, in getQuestion() argument
2413 question->InterfaceID = InterfaceID; in getQuestion()
2414 …if (!InterfaceID) question->TargetQID = onesID; // In DNSQuestions we use TargetQID as the indicat… in getQuestion()
2603 …mDNSInterfaceID InterfaceID, UDPSocket *src, const mDNSAddr *dst, mDNSIPPort dstport, TCPSocket *s… in mDNSSendDNSMessage() argument
2630 status = mDNSPlatformSendUDP(m, msg, end, InterfaceID, src, dst, dstport); in mDNSSendDNSMessage()