Lines Matching defs:serial
23 #include <isc/serial.h>
765 isc_uint32_t serial);
802 unsigned int *soacount, isc_uint32_t *serial,
873 isc_uint32_t serial;
1359 isc_uint32_t serial;
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;
4084 serial = dns_soa_getserial(&addtuple->rdata);
4085 serial = dns_update_soaserial(serial, method);
4086 dns_soa_setserial(serial, &addtuple->rdata);
4382 * serial number so that we can sync with it. If it has not yet
4388 isc_uint32_t serial;
4392 NULL, &soacount, &serial, NULL,
4395 zone_send_secureserial(zone->raw, serial);
4428 isc_uint32_t serial, oldserial, refresh, retry, expire, minimum;
4546 result = zone_get_from_db(zone, db, &nscount, &soacount, &serial,
4570 jserial = serial;
4574 if (jserial != serial) {
4654 !isc_serial_gt(serial, oldserial)) {
4659 if (serial == oldserial &&
4672 "new serial (%u) out of range "
4673 "[%u - %u]", serial, serialmin,
4677 } else if (!isc_serial_ge(serial, oldserial))
4679 "zone serial (%u/%u) has gone "
4680 "backwards", serial, oldserial);
4681 else if (serial == oldserial && !hasinclude &&
4684 "zone serial (%u) unchanged. "
4686 "to slaves.", serial);
4795 zone_send_secureserial(zone, serial);
4884 dns_zone_log(zone, ISC_LOG_INFO, "loaded serial %u%s", serial,
5068 isc_uint32_t *serial, isc_uint32_t *refresh,
5085 if (serial != NULL)
5086 *serial = 0;
5123 if (serial != NULL)
5124 *serial = soa.serial;
5136 if (serial != NULL)
5137 *serial = 0;
5161 unsigned int *soacount, isc_uint32_t *serial,
5180 if (serial != NULL)
5181 *serial = 0;
5205 if (soacount != NULL || serial != NULL || refresh != NULL
5208 serial, refresh, retry, expire,
6587 /* Increment SOA serial if we have made changes */
8042 * cleanup otherwise we need to increment the serial.
9992 isc_uint32_t serial;
10021 &soacount, &serial,
10028 zone_send_secureserial(zone, serial);
10207 isc_uint32_t serial;
10221 tresult = dns_db_getsoaserial(db, version, &serial);
10244 * use its serial if it is less than ours.
10255 isc_serial_lt(sserial, serial))
10256 serial = sserial;
10271 serial,
10289 zone->compact_serial = serial;
11048 isc_uint32_t serial;
11118 * Find serial and master server's name.
11129 serial = soa.serial;
11179 "sending notifies (serial %u)",
11180 serial);
11219 "sending notifies (serial %u)",
11220 serial);
11709 isc_uint32_t serial, oldserial = 0;
11920 * Extract serial
11944 serial = soa.serial;
11952 zone_debuglog(zone, me, 1, "serial: new %u, old %u",
11953 serial, oldserial);
11955 zone_debuglog(zone, me, 1, "serial: new %u, old not loaded",
11956 serial);
11960 isc_serial_gt(serial, oldserial)) {
11985 } else if (isc_serial_eq(soa.serial, oldserial)) {
12010 dns_zone_log(zone, ISC_LOG_INFO, "serial number (%u) "
12012 soa.serial, master, oldserial);
13090 isc_uint32_t serial = 0;
13105 * If the notify message contains a serial number check it
13106 * against the zones serial and return if <= current serial
13197 * If the zone is loaded and there are answers check the serial
13219 serial = soa.serial;
13230 if (isc_serial_le(serial, oldserial)) {
13253 "notify from %s: serial %u: refresh in "
13255 fromtext, serial);
13263 dns_zone_log(zone, ISC_LOG_INFO, "notify from %s: serial %u",
13264 fromtext, serial);
13266 dns_zone_log(zone, ISC_LOG_INFO, "notify from %s: no serial",
13899 isc_uint32_t serial;
14046 * If the SOA records are the same except for the serial
14097 end = ((struct secure_event *)event)->serial;
14104 * If we are already processing a receive secure serial event
14144 * from the latest source-serial of the secure zone up to
14145 * the current serial number of the raw zone.
14164 isc_uint32_t serial;
14170 if (dns_journal_get_sourceserial(sjournal, &serial)) {
14171 if (isc_serial_gt(serial, start))
14172 start = serial;
14219 "serial %u (unsigned %u)",
14305 zone_send_secureserial(dns_zone_t *zone, isc_uint32_t serial) {
14315 ((struct secure_event *)e)->serial = serial;
14344 if (isc_serial_gt(soa.serial, oldserial))
14348 * Always bump the serial.
14353 soa.serial = oldserial;
14859 isc_uint32_t serial, oldserial;
14863 result = dns_db_getsoaserial(db, ver, &serial);
14867 "new serial");
14882 && !isc_serial_gt(serial, oldserial)) {
14888 "new serial (%u) out of range [%u - %u]",
14889 serial, serialmin, serialmax);
14902 serial, zone->journalsize);
14919 zone_send_secureserial(zone, serial);
15024 isc_uint32_t serial, refresh, retry, expire, minimum;
15083 &soacount, &serial, &refresh,
15141 "transferred serial %u%s",
15142 serial, buf);
15144 zone_send_secureserial(zone, serial);
19091 desired = sse->serial;
19122 "setserial: desired serial (%u) "
19165 dns_zone_setserial(dns_zone_t *zone, isc_uint32_t serial) {
19195 sse->serial = serial;