Searched defs:now (Results 1 - 25 of 77) sorted by relevance

1234

/bind-9.11.3/lib/dns/include/dns/
H A Drdatasetiter.h94 isc_stdtime_t now; member in struct:dns_rdatasetiter
H A Drriterator.h58 isc_stdtime_t now; member in struct:dns_rriterator
71 dns_dbversion_t *ver, isc_stdtime_t now);
/bind-9.11.3/lib/dns/
H A Drriterator.c36 isc_stdtime_t now)
43 it->now = now;
80 it->now, &it->rdatasetit);
129 it->now, &it->rdatasetit);
35 dns_rriterator_init(dns_rriterator_t *it, dns_db_t *db, dns_dbversion_t *ver, isc_stdtime_t now) argument
H A Dtime.c99 isc_stdtime_t now; local
109 isc_stdtime_get(&now);
110 start = (isc_int64_t) now;
111 if (isc_serial_gt(value, now))
112 t = start + (value - now);
114 t = start - (now - value);
H A Dncache.c43 dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl,
93 dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl,
96 return (addoptout(message, cache, node, covers, now, maxttl,
103 isc_stdtime_t now, dns_ttl_t maxttl,
106 return (addoptout(message, cache, node, covers, now, maxttl,
112 dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl,
259 return (dns_db_addrdataset(cache, node, NULL, now, &ncrdataset,
92 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl, dns_rdataset_t *addedrdataset) argument
101 dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl, isc_boolean_t optout, dns_rdataset_t *addedrdataset) argument
111 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl, isc_boolean_t optout, isc_boolean_t secure, dns_rdataset_t *addedrdataset) argument
H A Drootns.c147 isc_stdtime_t now; local
152 isc_stdtime_get(&now);
159 now, NULL, name, &rootns, NULL);
168 result = dns_db_allrdatasets(db, node, NULL, now, &rdsiter);
322 dns_name_t *name, isc_stdtime_t now)
336 now, NULL, foundname, &hintrrset, NULL);
338 DNS_DBFIND_GLUEOK, now, NULL, foundname,
378 now, NULL, foundname, &hintrrset, NULL);
380 DNS_DBFIND_GLUEOK, now, NULL, foundname,
427 isc_stdtime_t now; local
321 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, dns_name_t *name, isc_stdtime_t now) argument
[all...]
H A Dbadcache.c56 badcache_resize(dns_badcache_t *bc, isc_time_t *now, isc_boolean_t grow);
116 badcache_resize(dns_badcache_t *bc, isc_time_t *now, isc_boolean_t grow) { argument
133 if (isc_time_compare(&bad->expire, now) < 0) {
160 isc_time_t now; local
168 result = isc_time_now(&now);
170 isc_time_settoepoch(&now);
184 if (isc_time_compare(&bad->expire, &now) < 0) {
212 badcache_resize(bc, &now, ISC_TRUE);
214 badcache_resize(bc, &now, ISC_FALSE);
225 isc_time_t *now)
223 dns_badcache_find(dns_badcache_t *bc, dns_name_t *name, dns_rdatatype_t type, isc_uint32_t *flagp, isc_time_t *now) argument
317 isc_time_t now; local
355 isc_time_t now; local
395 isc_time_t now; local
[all...]
H A Dnta.c204 isc_stdtime_t now; local
222 isc_stdtime_get(&now);
230 if (nta->expiry > now)
231 nta->expiry = now;
239 * as well stop the timer now.
241 if (nta->timer != NULL && nta->expiry - now < view->nta_recheck)
341 isc_boolean_t force, isc_stdtime_t now,
357 nta->expiry = now + lifetime;
428 dns_ntatable_covered(dns_ntatable_t *ntatable, isc_stdtime_t now, argument
460 answer = ISC_TF(nta->expiry > now);
340 dns_ntatable_add(dns_ntatable_t *ntatable, dns_name_t *name, isc_boolean_t force, isc_stdtime_t now, isc_uint32_t lifetime) argument
517 isc_stdtime_t now; local
657 isc_stdtime_t now; local
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dzonemgr_test.c155 isc_time_t now; local
159 TIME_NOW(&now);
182 ATF_CHECK(! dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
187 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
188 ATF_CHECK(! dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
189 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
190 ATF_CHECK(dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
194 ATF_CHECK(! dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
199 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
200 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
[all...]
H A Dupdate_test.c39 void isc_stdtime_get(isc_stdtime_t *now) { argument
40 *now = mystdtime;
113 atf_tc_set_md_var(tc, "descr", "now to unixtime");
276 atf_tc_set_md_var(tc, "descr", "now to date");
H A Ddnstap_test.c137 isc_stdtime_t now; local
184 isc_stdtime_get(&now);
185 isc_time_set(&p, now - 3600, 0); /* past */
186 isc_time_set(&f, now + 3600, 0); /* future */
246 * XXX now read back and check content.
H A Dkeytable_test.c118 isc_stdtime_t now; local
138 isc_stdtime_get(&now);
141 ISC_FALSE, now, 3600),
217 ATF_REQUIRE(dns_keynode_key(keynode) != NULL); /* now have a key */
476 * Right now, we only confirm the dump attempt doesn't cause disruption
494 isc_stdtime_t now; local
521 isc_stdtime_get(&now);
524 ISC_FALSE, now, 1);
530 now, ISC_TRUE, &issecure);
537 now, ISC_TRU
[all...]
H A Dtsig_test.c64 isc_stdtime_t now; local
81 isc_stdtime_get(&now);
82 tsig.timesigned = now;
/bind-9.11.3/bin/tests/net/
H A Ddriver.c33 static char now[512]; local
42 strftime(now, sizeof(now) - 1, "%A %d %B %H:%M:%S %Y",
45 strftime(now, sizeof(now) - 1, "%A %d %B %H:%M:%S %Y", localtime(&t));
48 return (now);
/bind-9.11.3/contrib/sdb/time/
H A Dtimedb.c62 time_t now = time(NULL); local
70 n = snprintf(buf, sizeof(buf), "\"%s", ctime(&now));
/bind-9.11.3/bin/dnssec/
H A Ddnssec-revoke.c216 isc_stdtime_t now; local
224 isc_stdtime_get(&now);
225 dst_key_settime(key, DST_TIME_REVOKE, now);
H A Ddnssec-verify.c71 static isc_stdtime_t now; variable
290 isc_stdtime_get(&now);
H A Ddnssec-importkey.c302 isc_stdtime_t now; local
305 isc_stdtime_get(&now);
332 now, now, &setsyncdel);
341 now, now, &setdel);
360 now, now, &setsyncadd);
369 now, now,
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dkeydata_65533.c192 isc_stdtime_t now; local
194 isc_stdtime_get(&now);
207 if (add < now) {
/bind-9.11.3/lib/isc/win32/
H A Dcondition.c236 isc_time_t now; local
238 if (isc_time_now(&now) != ISC_R_SUCCESS) {
243 microseconds = isc_time_microdiff(t, &now);
/bind-9.11.3/bin/tests/
H A Dtimer_test.c98 isc_time_t expires, now; local
133 TIME_NOW(&now);
146 RUNTIME_CHECK(isc_time_add(&now, &interval, &expires) ==
H A Dadb_test.c59 static isc_stdtime_t now; variable
260 now, NULL, view->dstport, &client->find);
290 isc_stdtime_get(&now);
/bind-9.11.3/bin/tests/virtual-time/
H A Dvtwrapper.c125 struct timeval now, tv; local
127 (void) gettimeofday(&now, NULL);
129 absolute_deflate(&now, &tv);
140 rt->tv_sec -= now.tv_sec;
141 rt->tv_usec -= now.tv_usec;
151 struct timeval now, tv; local
159 (void) gettimeofday(&now, NULL);
161 tv.tv_sec = now.tv_sec + rt->tv_sec;
162 tv.tv_usec = now.tv_usec + rt->tv_usec;
168 absolute_deflate(&now,
187 struct timeval now; local
[all...]
/bind-9.11.3/bin/named/
H A Dtsigconf.c43 isc_stdtime_t now; local
107 isc_stdtime_get(&now);
109 ISC_FALSE, NULL, now, now,
/bind-9.11.3/lib/isc/unix/
H A Dtime.c378 time_t now; local
389 now = (time_t) t->seconds;
391 flen = strftime(buf, len, "%d-%b-%Y %X", localtime_r(&now, &tm));
393 flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now));
406 time_t now; local
420 now = (time_t)t->seconds;
423 gmtime_r(&now, &tm));
425 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
451 time_t now; local
462 now
473 time_t now; local
[all...]

Completed in 37 milliseconds

1234