Lines Matching defs:serial

33 #include <isc/serial.h>
622 unsigned int *soacount, isc_uint32_t *serial,
1020 isc_uint32_t serial;
1022 result = dns_zone_getserial2(zone, &serial);
1024 serial = 0; /* XXX: not really correct, but no other choice */
1026 return (serial);
2579 isc_uint32_t serial, oldserial, refresh, retry, expire, minimum;
2663 result = zone_get_from_db(zone, db, &nscount, &soacount, &serial,
2719 !isc_serial_gt(serial, oldserial)) {
2729 "new serial (%u) out of range "
2730 "[%u - %u]", serial, serialmin,
2734 } else if (!isc_serial_ge(serial, oldserial))
2736 "zone serial has gone backwards");
2737 else if (serial == oldserial && !hasinclude &&
2740 "zone serial unchanged. "
2838 dns_zone_log(zone, ISC_LOG_INFO, "loaded serial %u%s", serial,
2995 isc_uint32_t *serial, isc_uint32_t *refresh,
3011 if (serial != NULL)
3012 *serial = 0;
3047 if (serial != NULL)
3048 *serial = soa.serial;
3072 unsigned int *soacount, isc_uint32_t *serial,
3102 if (soacount != NULL || serial != NULL || refresh != NULL
3105 serial, refresh, retry, expire,
3690 isc_uint32_t serial;
3697 serial = dns_soa_getserial(&addtuple->rdata);
3700 serial = (serial + 1) & 0xFFFFFFFF;
3701 if (serial == 0)
3702 serial = 1;
3704 dns_soa_setserial(serial, &addtuple->rdata);
5407 * cleanup otherwise we need to increment the serial.
6416 isc_uint32_t serial;
6432 tresult = dns_db_getsoaserial(db, version, &serial);
6440 serial,
6458 zone->compact_serial = serial;
7109 isc_uint32_t serial;
7170 * Find serial and master server's name.
7181 serial = soa.serial;
7205 "sending notifies (serial %u)",
7206 serial);
7244 "sending notifies (serial %u)",
7245 serial);
7651 isc_uint32_t serial, oldserial = 0;
7844 * Extract serial
7868 serial = soa.serial;
7875 zone_debuglog(zone, me, 1, "serial: new %u, old %u",
7876 serial, oldserial);
7878 zone_debuglog(zone, me, 1, "serial: new %u, old not loaded",
7879 serial);
7883 isc_serial_gt(serial, oldserial)) {
7906 } else if (isc_serial_eq(soa.serial, oldserial)) {
7935 dns_zone_log(zone, ISC_LOG_INFO, "serial number (%u) "
7937 soa.serial, master, oldserial);
8970 * If the notify message contains a serial number check it
8971 * against the zones serial and return if <= current serial
9051 * If the zone is loaded and there are answers check the serial
9067 isc_uint32_t serial = 0, oldserial;
9073 serial = soa.serial;
9082 if (isc_serial_le(serial, oldserial)) {
9763 isc_uint32_t serial, oldserial;
9768 result = dns_db_getsoaserial(db, ver, &serial);
9772 "new serial");
9785 !isc_serial_gt(serial, oldserial)) {
9791 "new serial (%u) out of range [%u - %u]",
9792 serial, serialmin, serialmax);
9805 serial, zone->journalsize);
9921 isc_uint32_t serial, refresh, retry, expire, minimum;
9959 &soacount, &serial, &refresh,
10017 "transferred serial %u%s",
10018 serial, buf);