Lines Matching refs:epoch
304 * retrieve a buffered record that belongs to the new epoch, i.e., not
312 * retrieve a buffered record that belongs to the current epoch, ie,
330 /* Check if epoch is current. */
331 if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch)
340 * be a record from the new epoch in it - so don't overwrite it
355 * current record is from a different epoch. But that cannot
356 * be the case because we already checked the epoch above
390 * sync epoch numbers once all the unprocessed records have been
393 s->d1->processed_rcds.epoch = s->d1->r_epoch;
394 s->d1->unprocessed_rcds.epoch = s->d1->r_epoch + 1;
639 * The epoch may have changed. If so, process all the pending records.
674 /* sequence number is 64 bits, with top 2 bytes = epoch */
675 n2s(p, rr->epoch);
763 * If this record is from the next epoch (either HM or ALERT), and a
1296 /* XDTLS: check that epoch is consistent */
1351 if (rr->epoch != s->d1->r_epoch) {
1642 /* field where we are to write out packet epoch, seq num and len */
1711 /* there's only one epoch between handshake and app data */
1878 /* In current epoch, accept HM, CCS, DATA, & ALERT */
1879 if (rr->epoch == s->d1->r_epoch)
1883 * Only HM and ALERT messages can be from the next epoch and only if we
1885 * epoch
1887 else if (rr->epoch == (unsigned long)(s->d1->r_epoch + 1) &&
1888 s->d1->unprocessed_rcds.epoch != s->d1->r_epoch &&
1970 * epoch