Searched refs:ttl (Results 1 - 25 of 84) sorted by relevance

1234

/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dttl.h18 /* $Id: ttl.h,v 1.19 2007/06/19 23:47:17 tbox Exp $ */
23 /*! \file dns/ttl.h */
57 dns_counter_fromtext(isc_textregion_t *source, isc_uint32_t *ttl);
67 dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl);
69 * Converts a ttl from either a plain number or a BIND 8 style value.
H A Dsdb.h168 dns_sdb_putrr(dns_sdblookup_t *lookup, const char *type, dns_ttl_t ttl,
171 dns_sdb_putrdata(dns_sdblookup_t *lookup, dns_rdatatype_t type, dns_ttl_t ttl,
184 const char *type, dns_ttl_t ttl, const char *data);
187 dns_rdatatype_t type, dns_ttl_t ttl,
H A Drdatalist.h58 dns_ttl_t ttl; member in struct:dns_rdatalist
H A Dsdlz.h236 const char *type, dns_ttl_t ttl, const char *data);
243 dns_sdlz_putrr(dns_sdlzlookup_t *lookup, const char *type, dns_ttl_t ttl,
H A Dnsec.h53 dns_name_t *target, dns_ttl_t ttl);
H A Ddiff.h86 dns_ttl_t ttl; member in struct:dns_difftuple
129 dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl,
H A Drdataslab.h95 dns_rdatatype_t covers, dns_ttl_t ttl,
H A Djournal.h217 dns_journal_current_rr(dns_journal_t *j, dns_name_t **name, isc_uint32_t *ttl,
220 * Get the name, ttl, and rdata of the current journal RR.
/bind-9.6-ESV-R11/lib/dns/
H A Drdatalist.c66 rdatalist->ttl = 0;
87 rdataset->ttl = rdatalist->ttl;
194 dns_ttl_t ttl; local
223 * Minimise ttl.
225 ttl = rdataset->ttl;
226 if (neg->ttl < ttl)
227 ttl
285 dns_ttl_t ttl; local
[all...]
H A Dttl.c37 #include <dns/ttl.h>
46 static isc_result_t bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl);
136 dns_counter_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) { argument
137 return (bind_ttl(source, ttl));
141 dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) { argument
144 result = bind_ttl(source, ttl);
151 bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl) { argument
160 * No legal counter / ttl is longer that 63 characters.
215 *ttl = tmp;
H A Ddiff.c58 dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl,
87 t->ttl = ttl;
118 orig->ttl, &orig->rdata, copyp));
175 ot->ttl == (*tuplep)->ttl)
290 rdl.ttl = t->ttl;
315 if (t->ttl != rdl.ttl
57 dns_difftuple_create(isc_mem_t *mctx, dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata, dns_difftuple_t **tp) argument
[all...]
H A Dncache.c131 dns_ttl_t ttl; local
157 ncrdatalist.ttl = maxttl;
164 ttl = maxttl;
188 if (ttl > rdataset->ttl)
189 ttl = rdataset->ttl;
274 ttl = 0;
307 ncrdatalist.ttl = ttl;
[all...]
/bind-9.6-ESV-R11/bin/tests/system/nsupdate/
H A Dupdate_test.pl378 $ttl = $a->ttl;
379 assert($ttl == 300, "incorrect TTL value $ttl != 300");
384 $ttl = $a->ttl;
385 assert($ttl == 301, "incorrect TTL value $ttl != 301");
394 $ttl = $a->ttl;
[all...]
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzfparse.c163 ** maximum ttl value in the corresponding parameter.
174 long ttl; local
210 ttl = get_ttl (p+4);
211 dbg_val3 ("%s:%d:ttl %ld\n", file, lnr, ttl);
212 setminmax (pminttl, ttl, pmaxttl);
239 if ( isdigit (*p) ) /* ttl ? */
241 ttl = get_ttl (p);
242 dbg_val3 ("%s:%d:ttl %ld\n", file, lnr, ttl);
[all...]
/bind-9.6-ESV-R11/contrib/sdb/bdb/
H A Dbdb.c44 #include <dns/ttl.h>
106 dns_ttl_t ttl; local
134 dns_ttl_fromtext((isc_textregion_t *)&ttltext, &ttl);
138 if (dns_sdb_putrr(l, type, ttl, rdata) != ISC_R_SUCCESS) {
158 dns_ttl_t ttl; local
182 dns_ttl_fromtext((isc_textregion_t *)&ttltext, &ttl);
186 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.6-ESV-R11/contrib/sdb/pgsql/
H A Dpgsqldb.c154 dns_ttl_t ttl; local
156 ttl = strtol(ttlstr, &endp, 10);
161 result = dns_sdb_putrr(lookup, type, ttl, data);
209 dns_ttl_t ttl; local
211 ttl = strtol(ttlstr, &endp, 10);
216 result = dns_sdb_putnamedrr(allnodes, name, type, ttl, data);
H A Dzonetodb.c89 addrdata(dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) { argument
121 dbtable, canonnamearray, ttl, canontypearray, canondataarray);
263 addrdata(name, rdataset.ttl, &rdata);
/bind-9.6-ESV-R11/contrib/sdb/sqlite/
H A Dsqlitedb.c83 dns_ttl_t ttl; local
94 ttl = strtol(ttlstr, &endp, 10);
100 parm->result = dns_sdb_putrr(parm->lookup, type, ttl, data);
157 dns_ttl_t ttl; local
169 ttl = strtol(ttlstr, &endp, 10);
175 parm->result = dns_sdb_putnamedrr(parm->allnodes, name, type, ttl, data);
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc.c302 * it fills in the type, class, ttl, and data length *
305 skipToData (cp, type, class, ttl, dlen, endOfMsg)
309 u_int32_t *ttl;
319 * Grab the type, class, and ttl. GETSHORT and GETLONG
324 GETLONG (*ttl, tmp_cp);
359 u_int32_t ttl; /* resource record time to live */ local
421 cp += skipToData (cp, &type, &class, &ttl, &dlen, endOfMsg);
503 u_int32_t ttl; /* resource record time to live */ local
564 cp += skipToData (cp, &type, &class, &ttl, &dlen, endOfMsg);
/bind-9.6-ESV-R11/contrib/dlz/drivers/
H A Ddlz_mysql_driver.c386 int ttl; local
415 ttl = strtol(safeGet(row[0]), &endp, 10);
416 if (*endp != '\0' || ttl < 0) {
420 "mysql driver ttl must be "
423 result = dns_sdlz_putrr(lookup, safeGet(row[1]), ttl,
464 ttl = strtol(safeGet(row[0]), &endp, 10);
465 if (*endp != '\0' || ttl < 0) {
469 "mysql driver ttl must be "
474 ttl, tmpString);
610 int ttl; local
[all...]
H A Ddlz_postgres_driver.c654 int ttl; local
681 ttl = strtol(PQgetvalue(rs, i, 0), &endp, 10);
682 if (*endp != '\0' || ttl < 0) {
686 "Postgres driver ttl must be "
690 ttl, PQgetvalue(rs, i, 2));
728 ttl = strtol(PQgetvalue(rs, i, 0), &endp, 10);
729 if (*endp != '\0' || ttl < 0) {
733 "Postgres driver ttl must be "
738 ttl, tmpString);
875 int ttl; local
[all...]
/bind-9.6-ESV-R11/contrib/sdb/ldap/
H A Dzone2ldap.c80 char *build_dn_from_dc_list (char **dc_list, unsigned int ttl, int flag);
84 unsigned int ttl, unsigned int flags);
91 unsigned int ttl);
251 generate_ldap (name, &rdata, rdataset.ttl);
355 generate_ldap (dns_name_t * dnsname, dns_rdata_t * rdata, unsigned int ttl) argument
384 dn = build_dn_from_dc_list (dc_list, ttl, WI_SPEC);
389 add_to_rr_list (dn, dc_list[len], type, data, ttl, DNS_OBJECT);
421 char *data, unsigned int ttl, unsigned int flags)
507 sprintf (charttl, "%d", ttl);
639 build_dn_from_dc_list (char **dc_list, unsigned int ttl, in argument
420 add_to_rr_list(char *dn, char *name, char *type, char *data, unsigned int ttl, unsigned int flags) argument
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dlwdgrbn.c82 dns_ttl_t ttl = ISC_INT32_MAX; local
135 if (set.ttl < ttl)
136 ttl = set.ttl;
172 grbn->ttl = ttl;
294 grbn->ttl = rdataset->ttl;
430 client->grbn.ttl
[all...]
/bind-9.6-ESV-R11/contrib/nslint-2.1a3/
H A Dnslint.c71 u_int ttl; /* ttl of A records */ member in struct:item
1034 register u_int ttl; local
1190 /* Handle ttl */
1191 if (name[0] == '$' && strcasecmp(name, "$ttl") == 0) {
1205 "%s: %s/%s:%d bad $ttl \"%s\"\n",
1212 /* Parse ttl or use default */
1214 ttl = atoi(cp);
1225 ttl *= 7;
1229 ttl *
1664 updateitem(register const char *host, register u_int32_t addr, register int records, register u_int ttl, register int flags) argument
[all...]

Completed in 4600 milliseconds

1234