Home
last modified time | relevance | path

Searched refs:qrs (Results 1 – 3 of 3) sorted by relevance

/openssl/ssl/quic/
H A Dquic_rstream.c48 if (qrs == NULL) in ossl_quic_rstream_free()
54 OPENSSL_free(qrs); in ossl_quic_rstream_free()
126 ring_buf_cpop_range(&qrs->rbuf, 0, offset - 1, qrs->fl.cleanse); in read_internal()
206 if (qrs->head_range.end == qrs->head_range.start) { in ossl_quic_rstream_get_record()
209 if (!ossl_sframe_list_drop_frames(&qrs->fl, qrs->head_range.end)) in ossl_quic_rstream_get_record()
213 rec_len_ = (size_t)(qrs->head_range.end - qrs->head_range.start); in ossl_quic_rstream_get_record()
216 record_ = ring_buf_get_ptr(&qrs->rbuf, qrs->head_range.start, in ossl_quic_rstream_get_record()
222 qrs->head_range.end = qrs->head_range.start + max_len; in ossl_quic_rstream_get_record()
239 if (read_len > qrs->head_range.end - qrs->head_range.start) { in ossl_quic_rstream_release_record()
251 ring_buf_cpop_range(&qrs->rbuf, 0, offset - 1, qrs->fl.cleanse); in ossl_quic_rstream_release_record()
[all …]
/openssl/include/internal/
H A Dquic_stream.h330 void ossl_quic_rstream_free(QUIC_RSTREAM *qrs);
342 int ossl_quic_rstream_queue_data(QUIC_RSTREAM *qrs, OSSL_QRX_PKT *pkt,
353 int ossl_quic_rstream_read(QUIC_RSTREAM *qrs, unsigned char *buf, size_t size,
362 int ossl_quic_rstream_peek(QUIC_RSTREAM *qrs, unsigned char *buf, size_t size,
370 int ossl_quic_rstream_available(QUIC_RSTREAM *qrs, size_t *avail, int *fin);
384 int ossl_quic_rstream_get_record(QUIC_RSTREAM *qrs,
400 int ossl_quic_rstream_release_record(QUIC_RSTREAM *qrs, size_t read_len);
410 int ossl_quic_rstream_move_to_rbuf(QUIC_RSTREAM *qrs);
420 int ossl_quic_rstream_resize_rbuf(QUIC_RSTREAM *qrs, size_t rbuf_size);
425 void ossl_quic_rstream_set_cleanse(QUIC_RSTREAM *qrs, int cleanse);
/openssl/test/
H A Dquic_stream_test.c341 static int test_single_copy_read(QUIC_RSTREAM *qrs, in test_single_copy_read() argument
351 if (!ossl_quic_rstream_get_record(qrs, &record, &rec_len, fin)) in test_single_copy_read()
364 if (!ossl_quic_rstream_release_record(qrs, rec_len)) in test_single_copy_read()

Completed in 16 milliseconds