Searched refs:timenow (Results 1 - 17 of 17) sorted by relevance

/freebsd-11.0-release/crypto/heimdal/lib/kadm5/
H A Dcheck-cracklib.pl66 my $timenow = scalar(time());
74 if (!$DB{$key} || ($timenow - $DB{$key} < $reusetime)) {
76 $DB{$key}=$timenow;
/freebsd-11.0-release/contrib/unbound/services/cache/
H A Dinfra.h217 * @param timenow: what time it is now.
226 time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to);
235 * @param timenow: what time it is now.
245 uint8_t* name, size_t namelen, time_t timenow, int dnsseclame,
260 * @param timenow: what time it is now.
265 int roundtrip, int orig_rtt, time_t timenow);
288 * @param timenow: what time it is now.
293 uint8_t* name, size_t namelen, int edns_version, time_t timenow);
310 * @param timenow: what time it is now.
316 int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow);
[all...]
H A Drrset.h126 * @param timenow: current time (to see if ttl in cache is expired).
134 struct alloc_cache* alloc, time_t timenow);
145 * @param timenow: used to compare with TTL.
152 uint32_t flags, time_t timenow, int wr);
160 * @param timenow: used to compare with TTL.
166 int rrset_array_lock(struct rrset_ref* ref, size_t count, time_t timenow);
H A Dinfra.c333 time_t timenow)
336 data->ttl = timenow + infra->host_ttl;
392 socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow,
399 if(e && ((struct infra_data*)e->data)->ttl < timenow) {
411 data_entry_init(infra, e, timenow);
425 if(!(e = new_entry(infra, addr, addrlen, nm, nmlen, timenow)))
453 data->probedelay = timenow + ((*to)+1999)/1000;
461 socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow,
470 if(!(e = new_entry(infra, addr, addrlen, nm, nmlen, timenow))) {
475 } else if( ((struct infra_data*)e->data)->ttl < timenow) {
332 data_entry_init(struct infra_cache* infra, struct lruhash_entry* e, time_t timenow) argument
391 infra_host(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to) argument
460 infra_set_lame(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int dnsseclame, int reclame, uint16_t qtype) argument
516 infra_rtt_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int qtype, int roundtrip, int orig_rtt, time_t timenow) argument
569 infra_get_host_rto(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, struct rtt_info* rtt, int* delay, time_t timenow, int* tA, int* tAAAA, int* tother) argument
595 infra_edns_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int edns_version, time_t timenow) argument
626 infra_get_lame_rtt(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* name, size_t namelen, uint16_t qtype, int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow) argument
743 infra_create_ratedata(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow) argument
803 infra_ratelimit_inc(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow) argument
837 infra_ratelimit_dec(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow) argument
852 infra_ratelimit_exceeded(struct infra_cache* infra, uint8_t* name, size_t namelen, time_t timenow) argument
[all...]
H A Drrset.c124 need_to_update_rrset(void* nd, void* cd, time_t timenow, int equal, int ns) argument
141 if(equal && cached->ttl >= timenow &&
147 if( cached->ttl < timenow )
185 struct alloc_cache* alloc, time_t timenow)
207 if(!need_to_update_rrset(k->entry.data, e->data, timenow,
242 uint16_t qtype, uint16_t qclass, uint32_t flags, time_t timenow,
262 if(timenow > data->ttl) {
273 rrset_array_lock(struct rrset_ref* ref, size_t count, time_t timenow) argument
280 if(ref[i].id != ref[i].key->id || timenow >
184 rrset_cache_update(struct rrset_cache* r, struct rrset_ref* ref, struct alloc_cache* alloc, time_t timenow) argument
241 rrset_cache_lookup(struct rrset_cache* r, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint32_t flags, time_t timenow, int wr) argument
H A Ddns.h122 * @param timenow: the time now, for checking if TTL on cache entries is OK.
127 struct regional* region, struct dns_msg** msg, time_t timenow);
/freebsd-11.0-release/contrib/unbound/util/data/
H A Dmsgencode.h58 * @param timenow: time to subtract.
70 uint16_t id, uint16_t qflags, struct sldns_buffer* dest, time_t timenow,
84 * @param timenow: time now, to adjust ttl values.
92 uint16_t id, uint16_t flags, struct sldns_buffer* buffer, time_t timenow,
H A Dmsgencode.c444 uint16_t* num_rrs, time_t timenow, struct regional* region,
472 if(data->rr_ttl[j] < timenow)
475 data->rr_ttl[j]-timenow);
509 if(data->rr_ttl[i] < timenow)
512 data->rr_ttl[i]-timenow);
531 sldns_buffer* pkt, size_t rrsets_before, time_t timenow,
544 pkt, num_rrs, timenow, region, 1, 1, tree,
557 pkt, num_rrs, timenow, region, 1, 0, tree,
568 pkt, num_rrs, timenow, region, 0, 1, tree,
627 uint16_t id, uint16_t flags, sldns_buffer* buffer, time_t timenow,
443 packed_rrset_encode(struct ub_packed_rrset_key* key, sldns_buffer* pkt, uint16_t* num_rrs, time_t timenow, struct regional* region, int do_data, int do_sig, struct compress_tree_node** tree, sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset) argument
530 insert_section(struct reply_info* rep, size_t num_rrsets, uint16_t* num_rrs, sldns_buffer* pkt, size_t rrsets_before, time_t timenow, struct regional* region, struct compress_tree_node** tree, sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset) argument
626 reply_info_encode(struct query_info* qinfo, struct reply_info* rep, uint16_t id, uint16_t flags, sldns_buffer* buffer, time_t timenow, struct regional* region, uint16_t udpsize, int dnssec) argument
750 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, uint16_t id, uint16_t qflags, sldns_buffer* pkt, time_t timenow, int cached, struct regional* region, uint16_t udpsize, struct edns_data* edns, int dnssec, int secure) argument
[all...]
H A Dmsgreply.h275 * @param timenow: the current time.
277 void reply_info_set_ttls(struct reply_info* rep, time_t timenow);
H A Dmsgreply.c497 reply_info_set_ttls(struct reply_info* rep, time_t timenow) argument
500 rep->ttl += timenow;
501 rep->prefetch_ttl += timenow;
507 data->ttl += timenow;
509 data->rr_ttl[j] += timenow;
/freebsd-11.0-release/crypto/openssl/ssl/
H A Dd1_lib.c401 struct timeval timenow; local
409 get_current_time(&timenow);
412 if (s->d1->next_timeout.tv_sec < timenow.tv_sec ||
413 (s->d1->next_timeout.tv_sec == timenow.tv_sec &&
414 s->d1->next_timeout.tv_usec <= timenow.tv_usec)) {
421 timeleft->tv_sec -= timenow.tv_sec;
422 timeleft->tv_usec -= timenow.tv_usec;
/freebsd-11.0-release/crypto/heimdal/lib/hx509/
H A Dhx_locl.h151 time_t timenow; member in struct:hx509_query_data
H A Dcms.c296 q.timenow = time_now;
298 q.timenow = time(NULL);
H A Dcert.c1094 q.timenow = time_now;
3065 if (t > q->timenow)
3068 if (t < q->timenow)
/freebsd-11.0-release/usr.sbin/newsyslog/
H A Dnewsyslog.c238 struct ptime_data *dbg_timenow; /* A "timenow" value set via -D option */
239 static struct ptime_data *timenow; /* The time to use for checking at-fields */ variable in typeref:struct:ptime_data
530 diffsecs = ptimeget_diff(timenow, ent->trim_at);
535 timenow);
624 timenow = ptime_init(NULL);
625 ptimeset_time(timenow, time(NULL));
626 strlcpy(daytime, ptimeget_ctime(timenow) + 4, DAYTIME_LEN);
729 ptime_free(timenow);
730 timenow = dbg_timenow;
1251 ptimeget_secs(timenow), e
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/bio/
H A Dbss_dgram.c278 struct timeval timenow, timeleft; local
302 get_current_time(&timenow);
306 if (timeleft.tv_usec < timenow.tv_usec) {
307 timeleft.tv_usec = 1000000 - timenow.tv_usec + timeleft.tv_usec;
310 timeleft.tv_usec -= timenow.tv_usec;
312 if (timeleft.tv_sec < timenow.tv_sec) {
316 timeleft.tv_sec -= timenow.tv_sec;
/freebsd-11.0-release/contrib/unbound/daemon/
H A Dworker.c476 time_t timenow = *worker->env.now; local
484 worker->scratchpad, &msg, timenow);
551 time_t timenow = *worker->env.now; local
557 if(rep->ttl < timenow) {
564 if(!rrset_array_lock(rep->ref, rep->rrset_count, timenow))
620 repinfo->c->buffer, timenow, 1, worker->scratchpad,

Completed in 171 milliseconds