Lines Matching refs:rbuf
302 memcpy(&(rdata->rbuf), &rl->rbuf, sizeof(TLS_BUFFER)); in dtls_rlayer_buffer_record()
309 memset(&rl->rbuf, 0, sizeof(TLS_BUFFER)); in dtls_rlayer_buffer_record()
314 OPENSSL_free(rdata->rbuf.buf); in dtls_rlayer_buffer_record()
322 OPENSSL_free(rdata->rbuf.buf); in dtls_rlayer_buffer_record()
337 ossl_tls_buffer_release(&rl->rbuf); in dtls_copy_rlayer_record()
341 memcpy(&rl->rbuf, &(rdata->rbuf), sizeof(TLS_BUFFER)); in dtls_copy_rlayer_record()
393 if (rl->rbuf.buf == NULL) { in dtls_get_more_records()
413 TLS_BUFFER_get_len(&rl->rbuf), 0, 1, &n); in dtls_get_more_records()
580 TLS_BUFFER *rbuf; in dtls_free() local
586 rbuf = &rl->rbuf; in dtls_free()
588 left = rbuf->left; in dtls_free()
594 ret = BIO_write_ex(rl->next, rbuf->buf + rbuf->offset, left, &written); in dtls_free()
595 rbuf->left = 0; in dtls_free()
604 OPENSSL_free(rdata->rbuf.buf); in dtls_free()
614 OPENSSL_free(rdata->rbuf.buf); in dtls_free()