Searched refs:now (Results 501 - 525 of 672) sorted by path

<<21222324252627

/freebsd-11-stable/contrib/unbound/libunbound/
H A Dlibworker.c265 comm_base_timept(w->base, &w->env->now, &w->env->now_tv);
649 /* delete it now */
773 /* delete it now */
/freebsd-11-stable/contrib/unbound/services/
H A Dauthzone.c670 /* found it, now delete it */
1004 /* now make rrsig set smaller */
1222 * set is now of that type,
1520 /* recurse read that file now */
1977 /* we cannot alter the rbtree right now, but
1985 /* now we are out of the tree loop and we can loop and delete
3867 /** pick up the master that is being scanned right now, task_transfer */
3876 /** pick up the master that is being scanned right now, task_probe */
5031 xfr->lease_time = *env->now;
5559 /* RR parses (haven't checked rdata itself), now loo
[all...]
H A Dmesh.c371 time_t timenow = *qstate->env->now;
387 * This is part of tomsg above; no need to check now. */
533 /* set detached (it is now) */
643 /* set detached (it is now) */
693 /* make it ignore the cache from now on */
719 /* set detached (it is now) */
881 * the reply_list is now NULL, so the remove-from-empty-list
1034 /* set detached (it is now) */
1105 administration should not fail now, unless they are out of sync */
1868 /* it was not detached (because it had a reply list), could be now */
[all...]
H A Doutside_network.c547 * outside_network.tcpwaitlist, then the timer is reset now that
711 * lru_next is thus not NULL and thus reuse is now not the last in
1154 free(pend->pkt); /* freeing now makes get_mem correct */
2064 /* select value now in 0 .. num free - 1 */
2132 * that buffer and file descriptor now. */
2171 /* we have a buffer available right now */
2178 /* can we write right now? */
2550 time_t now = *sq->outnet->now_secs; local
2553 sq->zonelen, now, &vs, &edns_lame_known, &rtt))
2764 struct timeval now local
2889 struct timeval now = *sq->outnet->now_tv; local
[all...]
/freebsd-11-stable/contrib/unbound/services/cache/
H A Ddns.c61 * @param now: current time.
73 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, argument
84 env->alloc, now + ((ntohs(rep->ref[i].key->rk.type)==
96 rep->ref[i].key, region, now);
172 reply_info_set_ttls(rep, *env->now);
173 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region);
200 uint16_t qclass, time_t now, uint16_t searchtype, int stripfront)
215 qnamelen, searchtype, qclass, 0, now, 0)))
229 struct dns_msg* msg, time_t now)
232 packed_rrset_copy_region(rrset, region, now))) {
199 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qclass, time_t now, uint16_t searchtype, int stripfront) argument
228 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, struct dns_msg* msg, time_t now) argument
240 msg_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) argument
265 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument
325 time_t now = *env->now; local
375 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, time_t now) argument
440 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument
451 dns_msg_ansadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument
462 dns_cache_find_delegation(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct dns_msg** msg, time_t now) argument
538 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, struct regional* region, time_t now, int allow_expired, struct regional* scratch) argument
613 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q) argument
643 synth_dname_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q, enum sec_status* sec_status) argument
740 time_t now = *env->now; local
809 time_t now = *env->now; local
[all...]
H A Ddns.h131 * @param timenow: the time now, for checking if TTL on cache entries is OK.
145 * @param now: the time now, for check if TTL on cache entry is ok.
152 struct reply_info* r, struct regional* region, time_t now,
207 * @param now: now.
211 struct ub_packed_rrset_key* rrset, time_t now);
219 * @param now: now.
223 struct ub_packed_rrset_key* rrset, time_t now);
[all...]
H A Dinfra.c405 * @param tm: time now.
530 /* got an entry, now set the zone lame */
846 /** create rate data item for name, number 1 in now */
918 int infra_rate_max(void* data, time_t now) argument
923 if(now-d->timestamp[i] <= RATE_WINDOW) {
H A Dinfra.h183 * valid for that timestamp. Usually now and now-1. */
243 * @param timenow: what time it is now.
261 * @param timenow: what time it is now.
286 * @param timenow: what time it is now.
314 * @param timenow: what time it is now.
336 * @param timenow: what time it is now.
353 * @param timenow: what time it is now.
370 * @param timenow: what time it is now.
389 * @param timenow: what time it is now
[all...]
H A Drrset.c368 struct ub_packed_rrset_key* rrset, time_t now)
394 updata->ttl+now < cachedata->ttl ||
395 cachedata->ttl < now ||
397 cachedata->ttl = updata->ttl + now;
399 cachedata->rr_ttl[i] = updata->rr_ttl[i]+now;
400 cachedata->ttl_add = now;
408 struct ub_packed_rrset_key* rrset, time_t now)
422 if(now > cachedata->ttl || !rrsetdata_equal(updata, cachedata)) {
430 updata->ttl = cachedata->ttl - now;
432 if(cachedata->rr_ttl[i] < now)
367 rrset_update_sec_status(struct rrset_cache* r, struct ub_packed_rrset_key* rrset, time_t now) argument
407 rrset_check_sec_status(struct rrset_cache* r, struct ub_packed_rrset_key* rrset, time_t now) argument
[all...]
H A Drrset.h217 * @param now: current time.
220 struct ub_packed_rrset_key* rrset, time_t now);
229 * @param now: current time.
232 struct ub_packed_rrset_key* rrset, time_t now);
/freebsd-11-stable/contrib/unbound/sldns/
H A Dparseutil.c168 sldns_serial_arithmetics_time(int32_t time, time_t now) argument
170 int32_t offset = (int32_t)((uint32_t) time - (uint32_t) now);
171 return (int64_t) now + offset;
175 sldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result) argument
178 int64_t secs_since_epoch = sldns_serial_arithmetics_time(time, now);
181 time_t secs_since_epoch = sldns_serial_arithmetics_time(time, now);
H A Dparseutil.h59 * with respect to now using serial arithmetics (rfc1982).
65 * to be interpreted as a serial arithmetics number relative to now.
66 * \param[in] now number of seconds since epoch (midnight, January 1st, 1970)
71 struct tm * sldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result);
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-anchor.c1554 xml_parse_setup(XML_Parser parser, struct xml_data* data, time_t now) argument
1560 data->date = now;
1573 ctime(&now));
1589 * @param now: the current time for checking DS validity periods.
1595 xml_parse(BIO* xml, time_t now) argument
1609 xml_parse_setup(parser, &data, now);
1837 time_t now = time(NULL); local
1850 , ctime(&now)) < 0) {
1912 /* the root zone is unsigned now */
2183 int32_t now local
[all...]
H A Dunbound-control.c257 PR_STATSTIME("time.now", shm_stat->time.now);
/freebsd-11-stable/contrib/unbound/util/data/
H A Dpacked_rrset.c273 time_t now, char* dest, size_t dest_len)
290 adjust = SERVE_ORIGINAL_TTL ? d->ttl_add : now;
331 struct regional* region, time_t now)
358 adjust = SERVE_ORIGINAL_TTL ? data->ttl_add : now;
373 struct alloc_cache* alloc, time_t now)
394 packed_rrset_ttl_add(dd, now);
272 packed_rr_to_string(struct ub_packed_rrset_key* rrset, size_t i, time_t now, char* dest, size_t dest_len) argument
330 packed_rrset_copy_region(struct ub_packed_rrset_key* key, struct regional* region, time_t now) argument
372 packed_rrset_copy_alloc(struct ub_packed_rrset_key* key, struct alloc_cache* alloc, time_t now) argument
H A Dpacked_rrset.h412 * @param now: time that is subtracted from ttl before printout. Can be 0.
418 time_t now, char* dest, size_t dest_len);
434 * @param now: adjust the TTLs to be relative (subtract from all TTLs).
439 time_t now);
445 * @param now: adjust the TTLs to be absolute (add to all TTLs).
450 time_t now);
/freebsd-11-stable/contrib/unbound/util/
H A Dlog.c225 time_t now; local
272 now = (time_t)time(NULL);
275 localtime_r(&now, &tm))%(sizeof(tmbuf)) != 0) {
288 fprintf(logfile, "[" ARG_LL "d] %s[%d:%x] %s: %s\n", (long long)now,
450 case WSAEINPROGRESS: return "Operation now in progress.";
H A Dmini_event.c142 static void handle_timeouts(struct event_base* base, struct timeval* now, argument
153 if(p->ev_timeout.tv_sec > now->tv_sec ||
154 (p->ev_timeout.tv_sec==now->tv_sec &&
155 p->ev_timeout.tv_usec > now->tv_usec)) {
157 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec;
158 if(now->tv_usec > p->ev_timeout.tv_usec) {
160 wait->tv_usec = 1000000 - (now->tv_usec -
164 - now->tv_usec;
313 struct timeval *now = ev->ev_base->time_tv; local
314 ev->ev_timeout.tv_sec = tv->tv_sec + now
[all...]
H A Dmodule.h481 time_t* now; member in struct:module_env
H A Dnetevent.c120 struct timeval now; member in struct:internal_base
173 b->eb->base = ub_default_event_base(sigs, &b->eb->secs, &b->eb->now);
239 *tv = &b->eb->now;
1082 /* stop accepting incoming queries for now. */
2426 verbose(VERB_ALGO, "http_chunked_segment: got now %d, tcpbytcount %d, http_stored %d, buffer pos %d, buffer limit %d", (int)got_now, (int)c->tcp_byte_count, (int)c->http_stored, (int)sldns_buffer_position(c->buffer), (int)sldns_buffer_limit(c->buffer));
3586 /* now prealloc the handlers */
H A Dwinsock_event.c163 static void handle_timeouts(struct event_base* base, struct timeval* now, argument
175 if(p->ev_timeout.tv_sec > now->tv_sec ||
176 (p->ev_timeout.tv_sec==now->tv_sec &&
177 p->ev_timeout.tv_usec > now->tv_usec)) {
179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec;
180 if(now->tv_usec > p->ev_timeout.tv_usec) {
182 wait->tv_usec = 1000000 - (now->tv_usec -
186 - now->tv_usec;
558 struct timeval *now = ev->ev_base->time_tv; local
559 ev->ev_timeout.tv_sec = tv->tv_sec + now
[all...]
/freebsd-11-stable/contrib/unbound/validator/
H A Dautotrust.c1054 /* now assemble the data into DNSKEY and DS packed rrsets */
1287 if((int32_t)t - (int32_t)*env->now > 0) {
1288 t -= (int32_t)*env->now;
1684 if(*env->now < ta->last_change) {
1688 elapsed = *env->now - ta->last_change;
1698 /** Set last_change to now */
1702 ta->last_change = *env->now;
1897 * now that can be made valid. Do this immediately because there
2012 return (time_t)(*env->now + rest + rnd);
2035 if(next > *env->now)
[all...]
H A Dval_kcache.c129 uint16_t key_class, struct regional* region, time_t now)
139 if(now <= d->ttl) {
128 key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen, uint16_t key_class, struct regional* region, time_t now) argument
H A Dval_neg.c259 /* check if the zone is now unused */
728 * now, because we are walking the tree still ... */
731 /* now delete the original element, this may trigger
1055 * @param now: to check ttl against
1062 time_t now)
1065 qname, qname_len, qtype, qclass, flags, now, 0);
1069 if(d->ttl < now) {
1089 r = packed_rrset_copy_region(k, region, now);
1103 * @param now: to check ttl against
1109 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now,
1059 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, uint16_t qtype, uint16_t qclass, uint32_t flags, struct regional* region, int checkbit, uint16_t checktype, time_t now) argument
1108 neg_find_nsec(struct val_neg_cache* neg_cache, uint8_t* qname, size_t qname_len, uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, struct regional* region) argument
1214 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* b32, size_t maxb32) argument
1247 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument
1347 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument
1377 val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo, struct regional* region, struct rrset_cache* rrset_cache, sldns_buffer* buf, time_t now, int addsoa, uint8_t* topname, struct config_file* cfg) argument
[all...]
H A Dval_neg.h229 * @param now: to check TTLs against.
246 struct rrset_cache* rrset_cache, struct sldns_buffer* buf, time_t now,

Completed in 447 milliseconds

<<21222324252627