HomeSort by: relevance | last modified time | path
    Searched refs:ttl_add (Results 1 - 10 of 10) sorted by relevancy

  /src/external/bsd/unbound/dist/util/data/
msgparse.h 108 time_t debug_expired_reply_ttl_calc(time_t ttl, time_t ttl_add);
109 #define EXPIRED_REPLY_TTL_CALC(ttl, ttl_add) \
110 debug_expired_reply_ttl_calc(ttl, ttl_add)
112 #define EXPIRED_REPLY_TTL_CALC(ttl, ttl_add) \
113 (SERVE_EXPIRED_REPLY_TTL < (ttl) - (ttl_add) ? \
114 SERVE_EXPIRED_REPLY_TTL : (ttl) - (ttl_add))
packed_rrset.c 224 data->ttl_add = add;
292 adjust = SERVE_ORIGINAL_TTL ? d->ttl_add : now;
362 /* NS RRSets may be here with ttl_add higher than now because
367 * can have ttl_add values. Also time could conceivably move
370 * So there is no assertion d->ttl_add <= now || type==NS */
371 now_control = SERVE_ORIGINAL_TTL ? data->ttl_add
372 : (d->ttl_add > now ? d->ttl_add : now );
375 d->rr_ttl[i] = EXPIRED_REPLY_TTL_CALC(d->rr_ttl[i], data->ttl_add);
379 d->ttl = EXPIRED_REPLY_TTL_CALC(d->ttl, data->ttl_add);
    [all...]
packed_rrset.h 254 time_t ttl_add; member in struct:packed_rrset_data
msgparse.c 1381 time_t debug_expired_reply_ttl_calc(time_t ttl, time_t ttl_add) {
1383 /* ttl (absolute) should be later than ttl_add */
1386 log_assert(ttl_add <= ttl);
1387 return (SERVE_EXPIRED_REPLY_TTL < (ttl) - (ttl_add) ?
1388 SERVE_EXPIRED_REPLY_TTL : (ttl) - (ttl_add));
msgreply.h 348 * @param ttl_add: the current time to be used verbatim for ttl_add in the rrsets.
350 void reply_info_absolute_ttls(struct reply_info* rep, time_t ttl, time_t ttl_add);
msgencode.c 486 adjust = SERVE_ORIGINAL_TTL ? data->ttl_add : timenow;
506 data->rr_ttl[j], data->ttl_add));
551 data->rr_ttl[i], data->ttl_add));
msgreply.c 648 data->ttl_add = timenow;
653 reply_info_absolute_ttls(struct reply_info* rep, time_t ttl, time_t ttl_add)
671 data->ttl_add = ttl_add;
  /src/external/bsd/unbound/dist/services/cache/
rrset.c 371 (timenow - data->ttl_add) <= DNAME_TTL0_GRACE_SECONDS) {
478 cachedata->ttl_add = now;
  /src/external/bsd/unbound/dist/cachedb/
cachedb.c 491 data->ttl_add = timestamp;
523 data->ttl_add = timestamp;
  /src/external/bsd/unbound/dist/daemon/
remote.c 2395 if(d->ttl_add > inf->expired)
2396 d->ttl_add = inf->expired; /* for 0TTL rrsets,
2397 means that d->ttl_add <= d->ttl */

Completed in 31 milliseconds