Searched defs:ttl (Results 1 - 25 of 74) sorted by relevance

123

/bind-9.11.3/lib/dns/include/dns/
H A Drdatalist.h49 dns_ttl_t ttl; member in struct:dns_rdatalist
H A Ddiff.h77 dns_ttl_t ttl; member in struct:dns_difftuple
115 dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl,
H A Dmaster.h29 #define DNS_MASTER_AGETTL 0x00000001 /*%< Age the ttl based on $DATE. */
51 #define DNS_MASTER_NOTTL 0x00008000 /*%< Don't require ttl. */
52 #define DNS_MASTER_CHECKTTL 0x00010000 /*%< Check max-zone-ttl */
96 dns_ttl_t ttl; /* 32-bit TTL */ member in struct:__anon120
334 *\li DNS_R_NOTTL failed to specify a ttl.
/bind-9.11.3/lib/dns/
H A Drriterator.c180 isc_uint32_t *ttl, dns_rdataset_t **rdataset,
190 *ttl = it->rdataset.ttl;
179 dns_rriterator_current(dns_rriterator_t *it, dns_name_t **name, isc_uint32_t *ttl, dns_rdataset_t **rdataset, dns_rdata_t **rdata) argument
H A Dkey.c172 dst_key_setttl(dst_key_t *key, dns_ttl_t ttl) { argument
174 key->key_ttl = ttl;
H A Drdatalist.c61 rdatalist->ttl = 0;
90 rdataset->ttl = rdatalist->ttl;
197 dns_ttl_t ttl; local
226 * Minimise ttl.
228 ttl = rdataset->ttl;
229 if (neg->ttl < ttl)
230 ttl
288 dns_ttl_t ttl; local
[all...]
H A Dttl.c28 #include <dns/ttl.h>
37 static isc_result_t bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl);
134 dns_counter_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) { argument
135 return (bind_ttl(source, ttl));
139 dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) { argument
142 result = bind_ttl(source, ttl);
149 bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl) { argument
158 * No legal counter / ttl is longer that 63 characters.
217 *ttl = (isc_uint32_t)(tmp & 0xffffffffUL);
H A Dncache.c122 dns_ttl_t ttl; local
148 ncrdatalist.ttl = maxttl;
153 ttl = maxttl;
177 if (ttl > rdataset->ttl)
178 ttl = rdataset->ttl;
240 ttl = 0;
245 ncrdatalist.ttl = ttl;
[all...]
H A Dnsec.c170 dns_name_t *target, dns_ttl_t ttl)
186 rdatalist.ttl = ttl;
169 dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *target, dns_ttl_t ttl) argument
/bind-9.11.3/lib/lwres/
H A Dlwres_grbn.c119 /* flags, class, type, ttl, nrdatas, nsigs */
157 /* encode class, type, ttl, and nrdatas */
160 lwres_buffer_putuint32(b, req->ttl);
253 lwres_uint32_t ttl; local
268 * Pull off the flags, class, type, ttl, nrdatas, and nsigs
275 ttl = lwres_buffer_getuint32(b);
295 grbn->ttl = ttl;
/bind-9.11.3/contrib/sdb/bdb/
H A Dbdb.c44 #include <dns/ttl.h>
112 dns_ttl_t ttl; local
144 dns_ttl_fromtext((isc_textregion_t *)&ttltext, &ttl);
148 if (dns_sdb_putrr(l, type, ttl, rdata) != ISC_R_SUCCESS) {
168 dns_ttl_t ttl; local
192 dns_ttl_fromtext((isc_textregion_t *)&ttltext, &ttl);
196 if (dns_sdb_putnamedrr(n, key.data, type, ttl, rdata) !=
H A Dzone2bdb.c35 #include <dns/ttl.h>
40 #define MAX_RDATATEXT 63 + 4 + 65535 + 2 /* ttl + type + rdata + sep */
64 bdb_putrdata(DB *db, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument
80 dns_ttl_totext(ttl, ISC_FALSE, &databuf);
170 rdataset.ttl, &rdata)
/bind-9.11.3/contrib/sdb/pgsql/
H A Dzonetodb.c80 addrdata(dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) { argument
112 dbtable, canonnamearray, ttl, canontypearray, canondataarray);
254 addrdata(name, rdataset.ttl, &rdata);
H A Dpgsqldb.c156 dns_ttl_t ttl; local
158 ttl = strtol(ttlstr, &endp, 10);
163 result = dns_sdb_putrr(lookup, type, ttl, data);
211 dns_ttl_t ttl; local
213 ttl = strtol(ttlstr, &endp, 10);
218 result = dns_sdb_putnamedrr(allnodes, name, type, ttl, data);
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dsyncptr.c165 dns_rdata_t *addr_rdata, dns_ttl_t ttl, dns_diffop_t op)
215 ttl, &ptr_rdata, &tp));
257 result = syncptr(inst, name, &rdata, rdataset->ttl, op);
164 syncptr(sample_instance_t *inst, dns_name_t *name, dns_rdata_t *addr_rdata, dns_ttl_t ttl, dns_diffop_t op) argument
/bind-9.11.3/lib/dns/rdata/generic/
H A Drrsig_46.c73 * Original ttl.
150 unsigned long ttl; local
197 ttl = uint32_fromregion(&sr);
199 snprintf(buf, sizeof(buf), "%lu", ttl);
275 * original ttl: 4
315 * original ttl: 4
H A Dsig_24.c73 * Original ttl.
124 unsigned long ttl; local
173 ttl = uint32_fromregion(&sr);
175 snprintf(buf, sizeof(buf), "%lu", ttl);
249 * original ttl: 4
289 * original ttl: 4
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_bdb_driver.c100 int ttl; member in struct:parsed_data
128 * zone(a space)host(a space)ttl(a space)type(a space)remaining data
177 /* save pointer to dns ttl */
180 /* find space after ttl and change it to a '\0' */
194 /* convert ttl string to integer */
195 pd->ttl = strtol(ttlStr, &endp, 10);
196 if (*endp != '\0' || pd->ttl < 0) {
199 "BDB driver ttl must be a postive number");
329 pd.ttl, pd.data);
531 result = dns_sdlz_putrr(lookup, pd.type, pd.ttl, p
[all...]
H A Ddlz_mysql_driver.c377 int ttl; local
406 ttl = strtol(safeGet(row[0]), &endp, 10);
407 if (*endp != '\0' || ttl < 0) {
411 "mysql driver ttl must be "
414 result = dns_sdlz_putrr(lookup, safeGet(row[1]), ttl,
455 ttl = strtol(safeGet(row[0]), &endp, 10);
456 if (*endp != '\0' || ttl < 0) {
460 "mysql driver ttl must be "
465 ttl, tmpString);
604 int ttl; local
[all...]
H A Ddlz_postgres_driver.c648 int ttl; local
675 ttl = strtol(PQgetvalue(rs, i, 0), &endp, 10);
676 if (*endp != '\0' || ttl < 0) {
680 "Postgres driver ttl must be "
684 ttl, PQgetvalue(rs, i, 2));
722 ttl = strtol(PQgetvalue(rs, i, 0), &endp, 10);
723 if (*endp != '\0' || ttl < 0) {
727 "Postgres driver ttl must be "
732 ttl, tmpString);
874 int ttl; local
[all...]
/bind-9.11.3/contrib/sdb/sqlite/
H A Dsqlitedb.c74 dns_ttl_t ttl; local
85 ttl = strtol(ttlstr, &endp, 10);
91 parm->result = dns_sdb_putrr(parm->lookup, type, ttl, data);
158 dns_ttl_t ttl; local
170 ttl = strtol(ttlstr, &endp, 10);
176 parm->result = dns_sdb_putnamedrr(parm->allnodes, name, type, ttl, data);
H A Dzone2sqlite.c94 addrdata(dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument
124 namearray, ttl, typearray, dataarray);
266 addrdata(name, rdataset.ttl, &rdata);
/bind-9.11.3/bin/dnssec/
H A Ddnssec-dsfromkey.c59 static isc_uint32_t ttl; variable
296 printf("%u ", ttl);
433 ttl = atol(isc_commandline_argument);
H A Ddnssec-importkey.c62 static dns_ttl_t ttl = 0; variable
240 dst_key_setttl(key, ttl);
274 fprintf(stderr, " -L ttl: set default key TTL\n");
349 ttl = strtottl(isc_commandline_argument);
/bind-9.11.3/bin/named/
H A Dlwdgrbn.c73 dns_ttl_t ttl = ISC_INT32_MAX; local
126 if (set.ttl < ttl)
127 ttl = set.ttl;
163 grbn->ttl = ttl;
285 grbn->ttl = rdataset->ttl;
425 client->grbn.ttl
[all...]

Completed in 43 milliseconds

123