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

/bind-9.11.3/lib/dns/rdata/generic/
H A Dcsync_62.h19 isc_uint32_t serial; member in struct:dns_rdata_csync
H A Dsoa_6.h20 isc_uint32_t serial; /*%< host order */ member in struct:dns_rdata_soa
/bind-9.11.3/lib/lwres/
H A Dcontext_p.h33 lwres_uint32_t serial; /*%< serial number state */ member in struct:lwres_context
H A Dlwresutil.c241 lwres_uint32_t serial; local
255 serial = lwres_context_nextserial(ctx);
276 pkt.serial = serial;
303 if (pkt.serial != serial)
357 lwres_uint32_t serial; local
370 serial = lwres_context_nextserial(ctx);
386 pkt.serial = serial;
464 lwres_uint32_t serial; local
[all...]
H A Dcontext.c37 The context holds a serial number that is used to identify resolver
39 requests. This serial number is controlled using
41 lwres_context_initserial() sets the serial number for context *ctx to
42 serial. lwres_context_nextserial() increments the serial number and
176 ctx->serial = time(NULL); /* XXXMLG or BEW */
178 ctx->serial = _time32(NULL);
226 /*% Increments the serial number and returns the previous value. */
231 return (ctx->serial++);
234 /*% Sets the serial numbe
236 lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial) argument
[all...]
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlwpacket.h51 * If two packets from the same source have the same serial
57 lwres_uint32_t serial; member in struct:lwres_lwpacket
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dzone.c149 isc_uint32_t serial; local
157 CHECK(dns_zone_getserial2(zone, &serial));
158 dns_zone_log(zone, ISC_LOG_INFO, "loaded serial %u", serial);
/bind-9.11.3/lib/dns/tests/
H A Dupdate_test.c20 #include <isc/serial.h>
53 isc_uint32_t serial; local
60 serial = dns_update_soaserial(old, dns_updatemethod_increment);
61 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
62 ATF_CHECK_MSG(serial != 0, "serial (%d) should not equal 0", serial);
63 ATF_REQUIRE_EQ(serial, 51);
74 isc_uint32_t serial; local
81 serial
94 isc_uint32_t serial; local
117 isc_uint32_t serial; local
140 isc_uint32_t serial; local
163 isc_uint32_t serial; local
187 isc_uint32_t serial; local
211 isc_uint32_t serial; local
234 isc_uint32_t serial; local
256 isc_uint32_t old, serial; local
280 isc_uint32_t serial; local
303 isc_uint32_t serial; local
[all...]
/bind-9.11.3/lib/dns/
H A Dsoa.c60 isc_uint32_t serial, isc_uint32_t refresh,
76 soa.serial = serial;
58 dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact, dns_rdataclass_t rdclass, isc_uint32_t serial, isc_uint32_t refresh, isc_uint32_t retry, isc_uint32_t expire, isc_uint32_t minimum, unsigned char *buffer, dns_rdata_t *rdata) argument
H A Djournal.c48 * serial number. Unused index entries have an "offset"
64 * whose serial number is current-(2^31-1) to current
75 * SOA serial number does not change (BIND 8 sends such
182 unsigned char serial[4]; /*%< SOA serial before update. */ member in struct:__anon154
214 /*% Source serial number. */
228 unsigned char serial0[4]; /*%< SOA serial before update. */
229 unsigned char serial1[4]; /*%< SOA serial after update. */
244 isc_uint32_t serial; member in struct:__anon159
249 #define POS_INVALIDATE(pos) ((pos).offset = 0, (pos).serial
848 index_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *best_guess) argument
909 index_invalidate(dns_journal_t *j, isc_uint32_t serial) argument
939 journal_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *pos) argument
2083 dns_journal_compact(isc_mem_t *mctx, char *filename, isc_uint32_t serial, isc_uint32_t target_size) argument
[all...]
H A Dsdb.c507 isc_uint32_t serial)
516 mname, rname, serial,
506 dns_sdb_putsoa(dns_sdblookup_t *lookup, const char *mname, const char *rname, isc_uint32_t serial) argument
H A Dsdlz.c2019 isc_uint32_t serial)
2028 mname, rname, serial,
2018 dns_sdlz_putsoa(dns_sdlzlookup_t *lookup, const char *mname, const char *rname, isc_uint32_t serial) argument
H A Dupdate.c19 #include <isc/serial.h>
1333 * update, including the SOA serial update but excluding the RRSIG & NSEC
2049 dns_update_soaserial(isc_uint32_t serial, dns_updatemethod_t method) { argument
2055 return (serial);
2058 if (now != 0 && isc_serial_gt(now, serial))
2064 if (new_serial != 0 && isc_serial_gt(new_serial, serial))
2071 serial = (serial + 1) & 0xFFFFFFFF;
2072 if (serial == 0)
2073 serial
[all...]
H A Drbtdb.c36 #include <isc/serial.h>
430 rbtdb_serial_t serial; member in struct:rdatasetheader
616 rbtdb_serial_t serial; member in struct:rbtdb_version
730 rbtdb_serial_t serial; member in struct:__anon179
1464 allocate_version(isc_mem_t *mctx, rbtdb_serial_t serial, argument
1473 version->serial = serial;
1746 rollback_node(dns_rbtnode_t *node, rbtdb_serial_t serial) { argument
1755 * We set the IGNORE attribute on rdatasets with serial number
1756 * 'serial'
2683 rbtdb_serial_t serial, least_serial; local
5764 rbtdb_serial_t serial; local
5993 cname_and_other_data(dns_rbtnode_t *node, rbtdb_serial_t serial) argument
7742 rbtdb_serial_t serial; local
9097 rbtdb_serial_t serial; local
9154 rbtdb_serial_t serial; local
[all...]
H A Dzone.c23 #include <isc/serial.h>
765 isc_uint32_t serial);
802 unsigned int *soacount, isc_uint32_t *serial,
873 isc_uint32_t serial; member in struct:ssevent
1359 isc_uint32_t serial; local
1361 result = dns_zone_getserial2(zone, &serial);
1363 serial = 0; /* XXX: not really correct, but no other choice */
1365 return (serial);
2457 * Save the raw serial number for inline-signing zones.
4075 isc_uint32_t serial; local
4388 isc_uint32_t serial; local
4428 isc_uint32_t serial, oldserial, refresh, retry, expire, minimum; local
5066 zone_load_soa_rr(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, unsigned int *soacount, isc_uint32_t *serial, isc_uint32_t *refresh, isc_uint32_t *retry, isc_uint32_t *expire, isc_uint32_t *minimum) argument
5160 zone_get_from_db(dns_zone_t *zone, dns_db_t *db, unsigned int *nscount, unsigned int *soacount, isc_uint32_t *serial, isc_uint32_t *refresh, isc_uint32_t *retry, isc_uint32_t *expire, isc_uint32_t *minimum, unsigned int *errors) argument
9992 isc_uint32_t serial; local
10207 isc_uint32_t serial; local
11048 isc_uint32_t serial; local
11709 isc_uint32_t serial, oldserial = 0; local
13090 isc_uint32_t serial = 0; local
13899 isc_uint32_t serial; member in struct:secure_event
14164 isc_uint32_t serial; local
14305 zone_send_secureserial(dns_zone_t *zone, isc_uint32_t serial) argument
14859 isc_uint32_t serial, oldserial; local
15024 isc_uint32_t serial, refresh, retry, expire, minimum; local
19165 dns_zone_setserial(dns_zone_t *zone, isc_uint32_t serial) argument
[all...]
/bind-9.11.3/lib/isccc/
H A Dcc.c702 isc_uint32_t serial, isccc_time_t now,
736 if (isccc_cc_defineuint32(_ctrl, "_ser", serial) == NULL ||
760 isc_uint32_t serial, isccc_time_t now,
763 return (createmessage(version, from, to, serial, now, expires,
772 isc_uint32_t serial; local
781 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
795 result = createmessage(1, _to, _frm, serial, t, 0, &ack, ISC_FALSE);
848 isc_uint32_t serial; local
857 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
871 result = isccc_cc_createmessage(1, _to, _frm, serial, no
701 createmessage(isc_uint32_t version, const char *from, const char *to, isc_uint32_t serial, isccc_time_t now, isccc_time_t expires, isccc_sexpr_t **alistp, isc_boolean_t want_expires) argument
759 isccc_cc_createmessage(isc_uint32_t version, const char *from, const char *to, isc_uint32_t serial, isccc_time_t now, isccc_time_t expires, isccc_sexpr_t **alistp) argument
[all...]
/bind-9.11.3/bin/dig/
H A Dhost.c674 isc_uint32_t serial = 0; local
704 serial = strtoul(isc_commandline_argument + 5,
732 lookup->ixfr_serial = serial;
H A Ddig.c1690 isc_uint32_t serial; local
1693 result = parse_uint(&serial, &value[5],
1694 MAXSERIAL, "serial number");
1696 fatal("Couldn't parse serial number");
1697 (*lookup)->ixfr_serial = serial;
1983 "serial number\n");
1993 isc_uint32_t serial; local
1997 result = parse_uint(&serial,
2000 "serial number");
2003 "serial numbe
[all...]
H A Ddighost.c77 #include <isc/serial.h>
2271 soa.serial = lookup->ixfr_serial;
3540 isc_uint32_t ixfr_serial = query->lookup->ixfr_serial, serial; local
3611 serial = soa.serial;
3615 query->first_rr_serial = serial;
3616 debug("this is the first serial %u",
3617 serial);
3619 serial)) {
3631 if (query->first_rr_serial == serial) {
[all...]
/bind-9.11.3/bin/rndc/
H A Drndc.c82 static isc_uint32_t serial; variable
157 Retransfer a single zone without checking serial number.\n\
179 signing -serial <value> zone [class [view]]\n\
180 Set the zones's serial to <value>.\n\
363 DO("create message", isccc_cc_createmessage(1, NULL, NULL, ++serial,
436 DO("create message", isccc_cc_createmessage(1, NULL, NULL, ++serial,
886 isc_random_get(&serial);
/bind-9.11.3/lib/isc/
H A Dpk11.c73 char serial[16]; member in struct:pk11_token
616 memmove(token->serial, tokenInfo.serialNumber, 16);
1231 } else if (strcmp(a, "serial") == 0) {
1232 /* serial: CK_TOKEN_INFO serialNumber */
1237 if (pk11strcmp(v, l, token->serial, 16))
1350 printf("\tserialNumber=%.16s\n", token->serial);
/bind-9.11.3/bin/named/
H A Dstatschannel.c1407 isc_uint32_t serial; local
1443 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "serial"));
1444 if (dns_zone_getserial2(zone, &serial) == ISC_R_SUCCESS)
1445 TRY0(xmlTextWriterWriteFormatString(writer, "%u", serial));
1448 TRY0(xmlTextWriterEndElement(writer)); /* serial */
2137 isc_uint32_t serial, isc_boolean_t add_serial)
2148 json_object_object_add(node, "serial",
2149 json_object_new_int64(serial));
2164 isc_uint32_t serial; local
2183 if (dns_zone_getserial2(zone, &serial) !
2136 addzone(char *name, char *classname, const char *ztype, isc_uint32_t serial, isc_boolean_t add_serial) argument
[all...]
H A Dupdate.c15 #include <isc/serial.h>
1418 * Increment the SOA serial number of database 'db', version 'ver'.
1435 isc_uint32_t serial; local
1442 serial = dns_soa_getserial(&addtuple->rdata);
1443 serial = dns_update_soaserial(serial, method);
1444 dns_soa_setserial(serial, &addtuple->rdata);
1459 * illegally cause the SOA serial number to decrease or stay
1465 * the case where the serial number stays unchanged:
1468 * if the serial numbe
[all...]
H A Dserver.c7682 result = ns_config_get(maps, "serial-query-rate", &obj);
12991 isc_uint32_t serial = 0; local
13075 } else if (strcasecmp(ptr, "-serial") == 0) {
13079 CHECK(isc_parse_uint32(&serial, ptr, 10));
13101 CHECK(dns_zone_setserial(zone, serial));
13102 (void) putstr(text, "serial request queued");
13202 isc_uint32_t serial, signed_serial, nodes; local
13272 serial = dns_zone_getserial(mayberaw);
13273 snprintf(serbuf, sizeof(serbuf), "%u", serial);
13378 CHECK(putstr(text, "\nsigned serial
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssec-signzone.c45 #include <isc/serial.h>
1258 * Increment (or set if nonzero) the SOA serial
1261 setsoaserial(isc_uint32_t serial, dns_updatemethod_t method) { argument
1290 } else if (serial != 0 || method == dns_updatemethod_none) {
1291 /* Set SOA serial to the value provided. */
1292 new_serial = serial;
1294 /* Increment SOA serial using RFC 1982 arithmetics */
1300 /* If the new serial is not likely to cause a zone transfer
1301 * (a/ixfr) from servers having the old serial, warn the user.
3006 fprintf(stderr, "\t\tsoa serial forma
[all...]

Completed in 155 milliseconds