Lines Matching defs:timeout

78 mDNSlocal void mDNS_ExtractKeepaliveInfo(AuthRecord *ar, mDNSu32 *timeout, mDNSAddr *laddr, mDNSAddr *raddr, mDNSEthAddr *eth,
1208 mDNSu32 timeout, seq, ack;
1213 mDNS_ExtractKeepaliveInfo(rr, &timeout, &laddr, raddr, &eth, &seq, &ack, &lport, &rport, &win);
1214 if (!timeout || mDNSAddressIsZero(&laddr) || mDNSAddressIsZero(raddr) || mDNSIPPortIsZero(lport) || mDNSIPPortIsZero(rport))
3919 // to do it on the next ADD of a negative cache record. This ADD could be the result of a timeout, no DNS servers
4007 // for the purpose of retrying search domains/timeout OR the question is suppressed
5756 mDNSu32 timeout, seq, ack;
5766 mDNS_ExtractKeepaliveInfo(rr, &timeout, &laddr, &raddr, &eth, &seq, &ack, &lport, &rport, &win);
5767 if (!timeout || mDNSAddressIsZero(&laddr) || mDNSAddressIsZero(&raddr) || mDNSIPPortIsZero(lport) ||
5777 newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d h=%#a d=%#a l=%u r=%u m=%s", timeout, kKeepaliveRetryInterval, kKeepaliveRetryCount, &laddr, &raddr, mDNSVal16(lport), mDNSVal16(rport), ethAddr);
5779 newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d H=%#a D=%#a l=%u r=%u m=%s", timeout, kKeepaliveRetryInterval, kKeepaliveRetryCount, &laddr, &raddr, mDNSVal16(lport), mDNSVal16(rport), ethAddr);
5801 newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d h=%#a d=%#a l=%u r=%u m=%.6a s=%u a=%u w=%u", timeout, kKeepaliveRetryInterval, kKeepaliveRetryCount, &laddr, &raddr, mDNSVal16(lport), mDNSVal16(rport), &eth, mti.seq, mti.ack, mti.window);
5803 newrdlength = mDNS_snprintf((char *)&txt.c[1], sizeof(txt.c) - 1, "t=%d i=%d c=%d H=%#a D=%#a l=%u r=%u m=%.6a s=%u a=%u w=%u", timeout, kKeepaliveRetryInterval, kKeepaliveRetryCount, &laddr, &raddr, mDNSVal16(lport), mDNSVal16(rport), &eth, mti.seq, mti.ack, mti.window);
8259 // By suppressing negative responses, it might take longer to timeout a .local question as it might be expecting a
9728 mDNSu32 timeout, seq, ack;
9736 timeout = seq = ack = 0;
9741 mDNS_ExtractKeepaliveInfo(rr, &timeout, &laddr, &raddr, &eth, &seq, &ack, &lport, &rport, &win);
9754 mDNSlocal void mDNS_ExtractKeepaliveInfo(AuthRecord *ar, mDNSu32 *timeout, mDNSAddr *laddr, mDNSAddr *raddr, mDNSEthAddr *eth, mDNSu32 *seq,
9806 *timeout = value;
9807 //if (*timeout < 120) *timeout = 120;
9851 mDNSu32 timeout, seq, ack;
9856 timeout = seq = ack = 0;
9863 mDNS_ExtractKeepaliveInfo(ar, &timeout, &laddr, &raddr, &eth, &seq, &ack, &lport, &rport, &win);
9866 if (!timeout || mDNSAddressIsZero(&laddr) || mDNSAddressIsZero(&raddr) || !seq || !ack || mDNSIPPortIsZero(lport) || mDNSIPPortIsZero(rport) || !win)
9893 mDNSu32 timeout, seq, ack;
9899 timeout = seq = ack = 0;
9907 mDNS_ExtractKeepaliveInfo(ar, &timeout, &laddr, &raddr, &eth, &seq, &ack, &lport, &rport, &win);
9909 if (!timeout || mDNSAddressIsZero(&laddr) || mDNSAddressIsZero(&raddr) || !seq || !ack || mDNSIPPortIsZero(lport) || mDNSIPPortIsZero(rport) || !win)
9921 ar->KATimeExpire = NonZeroTime(m->timenow + timeout * mDNSPlatformOneSecond);
9930 mDNSu32 timeout, seq, ack, seqInc;
9943 timeout = seq = ack = 0;
9949 mDNS_ExtractKeepaliveInfo(ar, &timeout, &laddr, &raddr, &eth, &seq, &ack, &lport, &rport, &win);
9951 if (!timeout || mDNSAddressIsZero(&laddr) || mDNSAddressIsZero(&raddr) || !seq || !ack || mDNSIPPortIsZero(lport) || mDNSIPPortIsZero(rport) || !win)
10497 mDNSexport McastResolver *mDNS_AddMcastResolver(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, mDNSu32 timeout)
10504 LogInfo("mDNS_AddMcastResolver: Adding %##s, InterfaceID %p, timeout %u", d->c, interface, timeout);
10532 (*p)->timeout = timeout;
10593 // names. In that case, we give a default timeout of 5 seconds
10606 // the timeout value from the first one
10614 curmatch ? curmatch->timeout : DEFAULT_MCAST_TIMEOUT);
10615 return ( curmatch ? curmatch->timeout : DEFAULT_MCAST_TIMEOUT);
10714 mDNSu32 timeout = 0;
10735 // Note: DNS configuration change will help pick the new dns servers but currently it does not affect the timeout
10760 timeout = 0;
10763 " Timeout %d, interface %p", question->qname.c, &curr->addr, curr->domain.c, curr->scoped, index, curr->timeout,
10765 timeout += curr->timeout;
10777 // If there are no matching resolvers, then use the default timeout value.
10778 // For ProxyQuestion, shorten the timeout so that dig does not timeout on us in case of no response.
10779 return ((question->ProxyQuestion || question->ValidatingResponse) ? DEFAULT_UDNSSEC_TIMEOUT : timeout ? timeout : DEFAULT_UDNS_TIMEOUT);
11401 mDNSu32 timeout = SetValidDNSServers(m, question);
11403 // We set the timeout whenever mDNS_StartQuery_internal is called. This means if we have
11405 // reinitializing the timeout value which means it may never timeout. If this becomes
11409 // Note that we set the timeout for all questions. If this turns out to be a duplicate,
11410 // it gets a full timeout value even if the original question times out earlier.
11413 question->StopTime = NonZeroTime(m->timenow + timeout * mDNSPlatformOneSecond);
11419 question, question->qname.c, DNSTypeName(question->qtype), timeout,
14674 // do inherit the timeout values from mcast resolvers. But we don't bother