Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/netbsd-src/external/mpl/bind/dist/tests/dns/
H A Drdataset_test.c49 rdataset.ttl = 900; in ISC_RUN_TEST_IMPL()
50 sigrdataset.ttl = 1000; in ISC_RUN_TEST_IMPL()
55 assert_int_equal(rdataset.ttl, 800); in ISC_RUN_TEST_IMPL()
56 assert_int_equal(sigrdataset.ttl, 800); in ISC_RUN_TEST_IMPL()
58 rdataset.ttl = 900; in ISC_RUN_TEST_IMPL()
59 sigrdataset.ttl = 1000; in ISC_RUN_TEST_IMPL()
64 assert_int_equal(rdataset.ttl, 120); in ISC_RUN_TEST_IMPL()
65 assert_int_equal(sigrdataset.ttl, 120); in ISC_RUN_TEST_IMPL()
67 rdataset.ttl = 900; in ISC_RUN_TEST_IMPL()
68 sigrdataset.ttl in ISC_RUN_TEST_IMPL()
[all...]
H A Ddb_test.c70 dns_ttl_t ttl; in ISC_RUN_TEST_IMPL() local
77 ttl = 5000; in ISC_RUN_TEST_IMPL()
78 result = dns_db_getservestalettl(db, &ttl); in ISC_RUN_TEST_IMPL()
80 assert_int_equal(ttl, 0); in ISC_RUN_TEST_IMPL()
82 ttl = 6 * 3600; in ISC_RUN_TEST_IMPL()
83 result = dns_db_setservestalettl(db, ttl); in ISC_RUN_TEST_IMPL()
86 ttl = 5000; in ISC_RUN_TEST_IMPL()
87 result = dns_db_getservestalettl(db, &ttl); in ISC_RUN_TEST_IMPL()
89 assert_int_equal(ttl, 6 * 3600); in ISC_RUN_TEST_IMPL()
136 rdatalist.ttl in ISC_RUN_TEST_IMPL()
[all...]
/netbsd-src/external/bsd/tcpdump/dist/tests/
H A Dforces2vvv.out1 05:12:46.942414 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68)
4 05:12:46.943161 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29…
7 05:12:46.943242 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26…
10 05:12:46.943643 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36)
13 05:12:47.944776 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68)
16 05:12:47.946163 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29…
19 05:12:47.946319 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26…
22 05:12:47.947214 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36)
25 05:12:48.948471 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68)
28 05:12:48.949179 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29…
[all …]
H A Dforces2vv.out1 05:05:09.298782 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68)
4 05:05:09.303686 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29…
7 05:05:09.304939 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26…
10 05:05:09.306408 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36)
13 05:05:10.309380 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68)
16 05:05:10.309715 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29…
19 05:05:10.309749 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26…
22 05:05:10.309952 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36)
25 05:05:11.310417 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68)
28 05:05:11.310768 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29…
[all …]
H A Dforces3vvv.out1 23:38:56.018934 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 76)
4 23:38:56.019037 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 23…
7 23:38:56.019110 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 20…
10 23:38:56.019241 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36)
13 23:38:56.019920 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 76)
16 23:38:56.020061 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 23…
19 23:38:56.020111 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 20…
22 23:38:56.020235 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36)
25 23:38:56.020433 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 76)
28 23:38:56.020578 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 23…
[all …]
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Drdatalist.c81 .ttl = rdatalist->ttl, in dns_rdatalist_tordataset()
183 dns_ttl_t ttl; in isc__rdatalist_count()
217 * Minimise ttl. in isc__rdatalist_addnoqname()
219 ttl = rdataset->ttl; in isc__rdatalist_addnoqname()
220 if (neg->ttl < ttl) { in isc__rdatalist_addnoqname()
221 ttl = neg->ttl; in isc__rdatalist_addnoqname()
197 dns_ttl_t ttl; isc__rdatalist_addnoqname() local
302 dns_ttl_t ttl; isc__rdatalist_addclosest() local
[all...]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drdatalist.c61 rdatalist->ttl = 0; in dns_rdatalist_init()
88 rdataset->ttl = rdatalist->ttl; in dns_rdatalist_tordataset()
197 dns_ttl_t ttl; in isc__rdatalist_addnoqname() local
233 ttl = rdataset->ttl; in isc__rdatalist_addnoqname()
234 if (neg->ttl < ttl) { in isc__rdatalist_addnoqname()
235 ttl = neg->ttl; in isc__rdatalist_addnoqname()
237 if (negsig->ttl < ttl) { in isc__rdatalist_addnoqname()
238 ttl = negsig->ttl; in isc__rdatalist_addnoqname()
240 rdataset->ttl = neg->ttl = negsig->ttl = ttl; in isc__rdatalist_addnoqname()
302 dns_ttl_t ttl; in isc__rdatalist_addclosest() local
[all …]
/netbsd-src/external/mpl/bind/dist/bin/tests/system/nsupdate/ns1/
H A Dmax-ttl.db14 max-ttl.nil IN SOA ns1.max-ttl.nil. hostmaster.max-ttl.nil. (
21 max-ttl.nil. NS ns1.max-ttl.nil.
22 ns1.max-ttl.nil. A 10.53.0.1
23 max-ttl.nil. NS ns2.max-ttl.nil.
24 ns2.max-ttl.nil. A 10.53.0.2
26 $ORIGIN max-ttl.nil.
/netbsd-src/external/mpl/bind/dist/bin/tests/system/reclimit/ans4/
H A Dans.pl73 my ($ttl, $rdata) = (0, "$count");
74 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
87 my ($ttl, $rdata) = (3600, $localaddr);
88 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
90 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n");
102 my ($ttl, $rdata) = (3600, $localaddr);
103 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
105 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n");
118 my ($ttl, $rdata) = (3600, $localaddr);
119 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
[all …]
/netbsd-src/external/mpl/bind/dist/bin/tests/system/chain/ans4/
H A Dans.py141 ttl = 86400
183 answers.append(dns.rrset.from_text(owner, ttl, IN, CNAME, target))
185 ttl,
192 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig))
203 answers.append(dns.rrset.from_text(owner, ttl, IN, CNAME, target))
205 ttl,
212 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig))
221 answers.append(dns.rrset.from_text(owner, ttl, IN, DNAME, newdom))
223 ttl,
230 sigs.append(dns.rrset.from_text(owner, ttl, IN, RRSIG, rrsig))
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/
H A Dserve_expired_0ttl_nxdomain.rpl19 ; - query for 0ttl.example.com. IN A
35 0ttl.example.com. IN A
61 0ttl.example.com. IN A
63 0ttl.example.com. 0 IN A 5.6.7.8
76 0ttl.example.com. IN A
85 0ttl.example.com. IN A
95 0ttl.example.com. IN A
104 0ttl.example.com. IN A
117 0ttl.example.com. IN A
126 0ttl.example.com. IN A
[all …]
H A Dserve_expired_0ttl_nodata.rpl19 ; - query for 0ttl.example.com. IN A
35 0ttl.example.com. IN A
61 0ttl.example.com. IN A
63 0ttl.example.com. 0 IN A 5.6.7.8
76 0ttl.example.com. IN A
85 0ttl.example.com. IN A
95 0ttl.example.com. IN A
104 0ttl.example.com. IN A
117 0ttl.example.com. IN A
126 0ttl.example.com. IN A
[all …]
H A Dserve_expired_0ttl_servfail.rpl19 ; - query for 0ttl.example.com. IN A
35 0ttl.example.com. IN A
59 0ttl.example.com. IN A
61 0ttl.example.com. 0 IN A 5.6.7.8
74 0ttl.example.com. IN A
83 0ttl.example.com. IN A
91 0ttl.example.com. IN A
100 0ttl.example.com. IN A
111 0ttl.example.com. IN A
117 MATCH all ttl
[all …]
/netbsd-src/tests/ipf/expected/
H A Di185 block in ttl 0 from any to any
6 block in ttl 1 from any to any
7 block in ttl 2 from any to any
8 block in ttl 3 from any to any
9 block in ttl 4 from any to any
10 block in ttl 5 from any to any
11 block in ttl 6 from any to any
/netbsd-src/external/mpl/bind/dist/bin/tests/system/reclimit/ans2/
H A Dans.pl73 my ($ttl, $rdata) = (0, "$count");
74 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
87 my ($ttl, $rdata) = (3600, $localaddr);
88 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
104 my ($ttl, $rdata) = (3600, $localaddr);
105 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
118 my ($ttl, $rdata) = (3600, "10.53.0.4");
119 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata");
120 print("\tresponse: $qname $ttl $qclass $qtype $rdata\n");
127 my ($ttl, $rdata) = (3600, $localaddr);
[all …]
/netbsd-src/external/mpl/bind/dist/bin/tests/system/checkconf/
H A Dgood-maxncachettl.conf15 max-ncache-ttl 0;
18 max-ncache-ttl 86400;
21 max-ncache-ttl 604800;
24 max-ncache-ttl 3600s;
27 max-ncache-ttl 1h;
30 max-ncache-ttl 1d;
33 max-ncache-ttl 1w;
H A Dgood-maxcachettl.conf15 max-cache-ttl 0;
18 max-cache-ttl 86400;
21 max-cache-ttl 4000000000;
24 max-cache-ttl 3600s;
27 max-cache-ttl 1h;
30 max-cache-ttl 1d;
33 max-cache-ttl 1w;
H A Dkasp-bad-lifetime.conf24 dnskey-ttl PT1H;
28 max-zone-ttl P1D;
31 parent-ds-ttl PT1H;
45 dnskey-ttl PT1H;
49 max-zone-ttl P1D;
52 parent-ds-ttl PT1H;
64 dnskey-ttl PT1H;
68 max-zone-ttl P1D;
71 parent-ds-ttl PT1H;
H A Dgood-minncachettl.conf15 min-ncache-ttl 0;
18 min-ncache-ttl 30;
21 min-ncache-ttl 60;
24 min-ncache-ttl 90s;
27 min-ncache-ttl 1m;
H A Dgood-mincachettl.conf15 min-cache-ttl 0;
18 min-cache-ttl 30;
21 min-cache-ttl 60;
24 min-cache-ttl 90s;
27 min-cache-ttl 1m;
/netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/bdbhpt/testing/
H A Dbdbhpt-populate.pl
/netbsd-src/external/mpl/bind/dist/bin/tests/system/masterfile/ns1/
H A Dttl2.db21 a TXT "inherited ttl 1"
22 b 2 TXT "explicit ttl 2"
23 c TXT "inherited ttl 2"
25 d TXT "default ttl 3"
26 e 2 TXT "explicit ttl 2"
27 f TXT "default ttl 3"
/netbsd-src/external/bsd/unbound/dist/services/cache/
H A Drrset.c143 if(equal && cached->ttl >= timenow && in need_to_update_rrset()
149 if( cached->ttl < timenow ) in need_to_update_rrset()
159 newd->ttl = cached->ttl; in need_to_update_rrset()
161 if(newd->rr_ttl[i] > newd->ttl) in need_to_update_rrset()
162 newd->rr_ttl[i] = newd->ttl; in need_to_update_rrset()
297 if(timenow > data->ttl) { in rrset_cache_lookup()
317 ->ttl) { in rrset_array_lock()
394 updata->ttl+now < cachedata->ttl || in rrset_update_sec_status()
395 cachedata->ttl < now || in rrset_update_sec_status()
397 cachedata->ttl = updata->ttl + now; in rrset_update_sec_status()
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Dixfr.h170 void ixfr_store_add_newsoa(struct ixfr_store* ixfr_store, uint32_t ttl,
181 void ixfr_store_add_oldsoa(struct ixfr_store* ixfr_store, uint32_t ttl,
185 uint16_t type, uint16_t klass, uint32_t ttl, struct buffer* packet,
188 uint16_t type, uint16_t klass, uint32_t ttl, struct buffer* packet,
192 uint32_t ttl, rdata_atom_type* rdatas, ssize_t rdata_num);
195 uint32_t ttl, uint8_t* rdata, size_t rdata_len);
198 uint32_t ttl, rdata_atom_type* rdatas, ssize_t rdata_num);
201 uint32_t ttl, uint8_t* rdata, size_t rdata_len);
/netbsd-src/external/ibm-public/postfix/dist/src/scache/
H A Dscache.c230 int ttl; in scache_save_endp_service() local
236 RECV_ATTR_INT(MAIL_ATTR_TTL, &ttl), in scache_save_endp_service()
240 || ttl <= 0) { in scache_save_endp_service()
264 ttl > var_scache_ttl_lim ? var_scache_ttl_lim : ttl, in scache_save_endp_service()
334 int ttl; in scache_save_dest_service() local
339 RECV_ATTR_INT(MAIL_ATTR_TTL, &ttl), in scache_save_dest_service()
344 || ttl <= 0) { in scache_save_dest_service()
352 ttl > var_scache_ttl_lim ? var_scache_ttl_lim : ttl, in scache_save_dest_service()

12345678910>>...22