Lines Matching refs:rlayer

78     struct pqueue_st *queue = s->rlayer.d->buffered_app_data;  in dtls_buffer_record()
145 if (s->rlayer.curr_rec < s->rlayer.num_recs) in dtls_unbuffer_record()
148 item = pqueue_pop(s->rlayer.d->buffered_app_data); in dtls_unbuffer_record()
152 s->rlayer.tlsrecs[0] = *rdata; in dtls_unbuffer_record()
153 s->rlayer.num_recs = 1; in dtls_unbuffer_record()
154 s->rlayer.curr_rec = 0; in dtls_unbuffer_record()
247 if (sc->rlayer.curr_rec >= sc->rlayer.num_recs) { in dtls1_read_bytes()
248 sc->rlayer.curr_rec = sc->rlayer.num_recs = 0; in dtls1_read_bytes()
250 rr = &sc->rlayer.tlsrecs[sc->rlayer.num_recs]; in dtls1_read_bytes()
253 sc->rlayer.rrlmethod->read_record(sc->rlayer.rrl, in dtls1_read_bytes()
270 sc->rlayer.num_recs++; in dtls1_read_bytes()
271 } while (sc->rlayer.rrlmethod->processed_read_pending(sc->rlayer.rrl) in dtls1_read_bytes()
272 && sc->rlayer.num_recs < SSL_MAX_PIPELINES); in dtls1_read_bytes()
274 rr = &sc->rlayer.tlsrecs[sc->rlayer.curr_rec]; in dtls1_read_bytes()
281 sc->rlayer.alert_count = 0; in dtls1_read_bytes()
413 sc->rlayer.alert_count++; in dtls1_read_bytes()
414 if (sc->rlayer.alert_count == MAX_WARN_ALERT_COUNT) { in dtls1_read_bytes()
486 if (rr->epoch != sc->rlayer.d->r_epoch in dtls1_read_bytes()
513 if (!sc->rlayer.rrlmethod->unprocessed_read_pending(sc->rlayer.rrl)) { in dtls1_read_bytes()
549 if (!sc->rlayer.rrlmethod->unprocessed_read_pending(sc->rlayer.rrl)) { in dtls1_read_bytes()
660 sc->rlayer.wrlmethod->write_records(sc->rlayer.wrl, &tmpl, 1)); in do_dtls1_write()
671 s->rlayer.d->r_epoch++; in dtls1_increment_epoch()
679 s->rlayer.d->w_epoch++; in dtls1_increment_epoch()
687 epoch = s->rlayer.d->r_epoch; in dtls1_get_epoch()
689 epoch = s->rlayer.d->w_epoch; in dtls1_get_epoch()