Lines Matching +full:frame +full:- +full:buffer
2 * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.
32 * - accepting octet strings of stream data;
34 * - generating corresponding STREAM frames;
36 * - receiving notifications of lost frames, in order to generate new STREAM
39 * - receiving notifications of acknowledged frames, in order to internally
42 * - informing the caller of how much more stream data it can accept into
58 * the stream data buffer in bytes, which must be positive.
76 * transmitted. is_fin is set to 1 if hdr->offset + hdr->len is the final size
77 * of the stream and 0 otherwise. hdr->stream_id is not set; the caller must set
81 * send all of the data, the caller must reduce hdr->len before serializing the
82 * header structure and must ensure that hdr->is_fin is cleared.
84 * hdr->has_explicit_len is always set. It is the caller's responsibility to
93 * buffer organisation. The sum of the lengths of the IOVs and the value written
94 * to hdr->len will always match. If the caller decides to send less than
95 * hdr->len of stream data, it must adjust the IOVs accordingly. This may be
96 * done by updating hdr->len and then calling the utility function
101 * byte numbers of the transmitted bytes (i.e., hdr->offset, hdr->offset +
102 * hdr->len - 1). If you do not call ossl_quic_sstream_mark_transmitted, the next call to
108 * stream-level flow control, connection-level flow control, or the applicable
111 * The skip argument can usually be given as zero. If it is non-zero, this
119 * 0, 1 or 2. A *num_iov value of 0 can only occurs when hdr->is_fin is set (for
155 * If the STREAM frame sent had the FIN bit set, you must also call
158 * If you sent a zero-length STREAM frame with the FIN bit set, you need only
168 * (For TX packetizer use.) Marks a STREAM frame with the FIN bit set as having
170 * offset + len of the transmitted STREAM frame).
185 * If the lost frame had the FIN bit set, you must also call
195 * (RX/ACKM use.) Informs the QUIC_SSTREAM that a STREAM frame with the FIN bit
209 * If the acknowledged frame had the FIN bit set, you must also call
219 * (RX/ACKM use.) Informs the QUIC_SSTREAM that a STREAM frame with the FIN bit
231 * function; data is copied into an internal ring buffer of finite size.
233 * If the buffer is full, this should be materialised as a backpressure
263 * Resizes the internal ring buffer. All stream data is preserved safely.
265 * This can be used to expand or contract the ring buffer, but not to contract
266 * the ring buffer below the amount of stream data currently stored in it.
275 * Gets the internal ring buffer size in bytes.
280 * Gets the number of bytes used in the internal ring buffer.
285 * Gets the number of bytes free in the internal ring buffer.
319 * If they are non-NULL, the `rxfc` is called when receive stream data
321 * `rbuf_size` is the initial size of the ring buffer to be used
333 * Adds received stream frame data to `qrs`. The `pkt_wrap` refcount is
335 * It can be NULL for unit-testing purposes, i.e. if `data` is static or
338 * `data_len` can be 0 - can be useful for indicating `fin` for empty stream.
348 * Copies the data from the stream storage to buffer `buf` of size `size`.
357 * Peeks at the data in the stream storage. It copies them to buffer `buf`
379 * after end of the stream - in that case *fin will be set to 1 and
403 * Moves received frame data from decrypted packets to ring buffer.
406 * referenced packets due to an insufficient size of the ring buffer.
408 * ossl_quic_rstream_get_record() - that one will be always skipped.
413 * Resizes the internal ring buffer to a new `rbuf_size` size.
416 * the ring buffer when ossl_quic_rstream_get_record() was called and
417 * not yet released, or trying to resize the ring buffer to a smaller size