Lines Matching defs:now

238             LogInfo("RR Auth now using %ld objects", r->rrauth_totalused);
300 if (!ag) ag = GetAuthGroup(r, slot, &rr->resrec); // If we don't have a AuthGroup for this name, make one now
483 // Right now we just stop and re-use the existing query. If we really wanted to be 100% perfect,
615 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now
650 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now
758 // For now, to make it easier to avoid false conflicts, we treat SPS Proxy records like shared records,
781 // so now we just need to check the name, type, class, rdata and TTL.
842 // If we have no probe suppression time set, or it is in the past, set it now
889 // After three probes one second apart with no answer, we conclude the client is now sleeping
896 // Set LastMCTime to now, to inhibit multicast responses
931 // Right now this only applies to mDNS (.local) services where the target host is always m->MulticastHostname
1441 // records to the list, so we now need to update p to advance to the new end to the list before appending our new record.
1973 break; // If packet full, send it now
1984 // standard limit (AllowedRRSpace) and we should have space now.
2214 // Right now we only send Neighbor Solicitations to verify whether the host we're proxying for has gone to sleep yet.
2317 // Right now the DNSOpt_Owner_Space macro does not depend on the owner->u.owner being set up correctly, but in the future it might
2425 // For now we only want to send a single Unsolicited Neighbor Advertisement restoring the address to the original
2610 else continue; // If this packet is already too full to hold the goodbye for this record, skip it for now and we'll retry later
2655 // If sending on all interfaces, go to next interface; else we're finished now
2700 // will have had the cache flush bit set, so now we need to finish the job and send the rest.
2740 // not Additional Section, but for now it's easier to handle both cases in this Additional Section loop here.
2768 if (!r2) // If we successfully built our NSEC record, add it to the packet now
3397 // If m->CurrentQuestion wasn't modified out from under us, advance it now
3560 // else, if it has now finished probing, move it to state Verified,
4072 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now
4208 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now
4221 // but we don't have any place to cache it. We'll deliver question 'add' events now, but we won't have any
4240 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now
4311 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now
4471 else // else trigger our question to go out now
4623 // it (and indeed 'q' is now a dangling pointer, so dereferencing it at all would be bad, and the
4624 // values we computed for slot and cg are now stale and relate to a question that no longer exists).
4708 // with search domains, generate a negative response which will now retry after appending search domains.
4738 // m->NextScheduledQuery may now be set to 'never', and in that case -- even though we're *not* doing
4878 LogInfo("RR Cache now using %ld objects", m->rrcache_totalused);
4968 // (GetNextScheduledEvent() returns "now" when m->SPSProxyListChanged is set)
5000 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
5015 if (m->CurrentRecord == rr) // If rr still exists in list, restore its state now
5024 if (m->CurrentRecord == rr) // If m->CurrentRecord was not auto-advanced, do it ourselves now
5056 // If m->CurrentQuestion wasn't modified out from under us, advance it now
5143 SetSPSProxyListChanged(mDNSNULL); // Perform any deferred BPF reconfiguration now
5164 LogSPS("Re-sleep delay passed; now checking for Sleep Proxy Servers");
5277 // If the platform code is ready, and we're not suppressing packet generation right now
5388 // For now this AutoTunnel stuff is specific to Mac OS X.
5785 // now, then we don't update the DNS NULL record. But we do not prevent it from registering with the SPS. When SPS sees
5878 rr->SendRNow = mDNSInterfaceMark; // mark it now
5898 // For now we follow that same logic for SPS registrations too.
6135 // If we still have registrations pending on this interface, send it now
6166 // 1. Got the SRV record; now look up the target host's IP address
6181 if (sps == intf->NextSPSAttempt/3) SendSPSRegistration(m, intf, zeroID); // If we're ready for this result, use it now
6200 if (sps == intf->NextSPSAttempt/3) SendSPSRegistration(m, intf, zeroID); // If we're ready for this result, use it now
6342 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
6522 // If we saw WakeOnly service above, send the goodbyes now.
6589 // Reset SleepLimit back to 0 now that we're awake again.
6592 // If we were previously sleeping, but now we're not, increment m->SleepSeqNum to indicate that we're entering a new period of wakefulness
6638 // now which can cause the cache to purge pre-maturely. As this is not a very
6651 // sleeping really long (~24 days). For now, we want to be conservative and flush even
6699 // than five seconds from now.
6706 mDNSexport mDNSBool mDNSCoreReadyForSleep(mDNS *m, mDNSs32 now)
6717 if (m->SleepLimit - now > 0 && m->NextScheduledSPRetry - now > 0) goto notready;
6719 m->NextScheduledSPRetry = now + 0x40000000UL;
6725 if (now - intf->NextSPSAttemptTime >= 0)
6782 if (now - m->SleepLimit >= 0)
6784 LogMsg("Failed to register with SPS, now sending goodbyes");
6805 // Right now we wait 16 sec after wake for all the interfaces to come up, then we wait up to 10 seconds
6808 m->SleepLimit = now + mDNSPlatformOneSecond * 1;
6818 mDNSexport mDNSs32 mDNSCoreIntervalToNextWake(mDNS *const m, mDNSs32 now)
6826 mDNSs32 e = now + (120 * 60 * mDNSPlatformOneSecond); // Sleep for at most 120 minutes
6830 if (nat->Protocol && nat->ExpiryTime && nat->ExpiryTime - now > mDNSPlatformOneSecond*4)
6832 mDNSs32 t = nat->ExpiryTime - (nat->ExpiryTime - now) / 10; // Wake up when 90% of the way to the expiry time
6837 nat->retryPortMap ? (nat->retryPortMap - now) / mDNSPlatformOneSecond : 0,
6839 nat->ExpiryTime ? (nat->ExpiryTime - now) / mDNSPlatformOneSecond : 0,
6840 (t - now) / mDNSPlatformOneSecond);
6846 if (ar->expire && ar->expire - now > mDNSPlatformOneSecond*4)
6848 mDNSs32 t = ar->expire - (ar->expire - now) / 10; // Wake up when 90% of the way to the expiry time
6852 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond,
6853 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0,
6854 (t - now) / mDNSPlatformOneSecond, ARDisplayString(m, ar));
6857 return(e - now);
7150 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
7174 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
7207 rr->RequireGoodbye = mDNSfalse; // and we don't want to send goodbye for it, since real host is now back and functional
7213 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
7421 // We only do this for non-truncated queries. Right now it would be too complicated to try
7429 // small, we don't do the optimization for now.
7550 // *** 6. Cancel any additionals that were added because of now-deleted records
7897 // if (q->LongLived && mDNSSameAddress(srcaddr, &q->servAddr)) return(mDNStrue); Shouldn't need this now that we have LLQType checking
7938 if (!cg) cg = GetCacheGroup(m, slot, &m->rec.r.resrec); // If we don't have a CacheGroup for this name, make one now
8459 // For now, we don't need to update cg here, because we'll do it again immediately, back up at the start of this loop
8640 // lifetime (800ms and 900ms from now) which is a pointless waste of network bandwidth.
8641 // If record's current expiry time is more than a second from now, we set it to expire in one second.
8984 // Initialize the DNS server on the resource record which will now filter what questions we answer with
9007 // the question. The code below does that. So, make this record unacceptable for now
9189 // If packet resource record not in our cache, add it now
9275 // (and now has half a second remaining) could inadvertently get its life extended, by either
9417 // If no longer delaying, deliver answer now, else schedule delivery for the appropriate time
9424 // update them now for future validations.
9486 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
9604 // We processed "::". We need to fill zeroes later. For now, mark the
10179 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
10189 // may have been the thing we were waiting for, so schedule another check to see if we can sleep now.
10436 // If q used to be a duplicate, but now is not,
11235 // 1. Previously it was suppressed and now it is not suppressed, restart the question so
11241 // 2. Previously it was not suppressed and now it is suppressed. We need to restart the questions
11594 // If we don't have our NAT mapping active, start it now
12861 // Assume this interface will be active now, unless we find a duplicate already in the list
12880 // This InterfaceID already represented by a different interface in the list, so mark this instance inactive for now
12900 "already represented in list; marking inactive for now");
12985 // we now need them to re-probe if necessary, and then re-announce.
13123 // If we were advertising on this interface, deregister those address and reverse-lookup records now
13238 // If this ServiceRecordSet was forcibly deregistered, and now its memory is ready for reuse,
13239 // then we can now report the NameConflict to the client
13340 // For now we only create an advisory record for the main type, not for subtypes
13404 // records below and bail out. For now, this seems to be sufficient to address rdar://9304275
13511 // Fortunately we already grabbed ourselves a copy of this pointer (above), so we can now run
13691 rr->LastAPTime = m->timenow + mDNSPlatformOneSecond * 9; // Send first packet at rr->LastAPTime + rr->ThisAPInterval, i.e. 10 seconds from now
13973 // For now, to reduce spurious wakeups, we wake only for TCP SYN,
14017 // For now, because we haven't yet worked out a clean elegant way to do this, we just special-case the
14672 // For now, we just delete the mcast resolvers. We don't deal with cache or
14919 // If we now have no DNS servers at all and we used to have some, then immediately purge all unicast cache records (including for LLQs).
14922 // Similarly, if we now have some DNS servers and we used to have none, we want to purge any fake negative results we may have generated.
15009 if (m->CurrentRecord == rr) // If m->CurrentRecord was not advanced for us, do it now
15090 // If we scheduled a response to send goodbye packets, we set NextScheduledResponse to now. Normally when deregistering records,