Home
last modified time | relevance | path

Searched refs:is_fin (Results 1 – 16 of 16) sorted by relevance

/openssl/ssl/quic/
H A Dquic_fc.c148 rxfc->is_fin = 0; in ossl_quic_rxfc_init()
199 int ossl_quic_rxfc_on_rx_stream_frame(QUIC_RXFC *rxfc, uint64_t end, int is_fin) in ossl_quic_rxfc_on_rx_stream_frame() argument
206 if (rxfc->is_fin && ((is_fin && rxfc->hwm != end) || end > rxfc->hwm)) { in ossl_quic_rxfc_on_rx_stream_frame()
212 if (is_fin) in ossl_quic_rxfc_on_rx_stream_frame()
213 rxfc->is_fin = 1; in ossl_quic_rxfc_on_rx_stream_frame()
222 } else if (end < rxfc->hwm && is_fin) { in ossl_quic_rxfc_on_rx_stream_frame()
253 return !rxfc->is_fin && window_rem <= threshold; in rxfc_cwm_bump_desired()
404 if (!rxfc->is_fin) in ossl_quic_rxfc_get_final_size()
H A Dquic_tserver.c255 int is_fin = 0; in ossl_quic_tserver_read() local
283 bytes_read, &is_fin)) in ossl_quic_tserver_read()
302 if (is_fin) in ossl_quic_tserver_read()
317 int is_fin = 0; in ossl_quic_tserver_has_read_ended() local
338 &bytes_read, &is_fin)) in ossl_quic_tserver_has_read_ended()
341 if (is_fin && bytes_read == 0) { in ossl_quic_tserver_has_read_ended()
345 &bytes_read, &is_fin)) in ossl_quic_tserver_has_read_ended()
348 assert(is_fin && bytes_read == 0); in ossl_quic_tserver_has_read_ended()
H A Dquic_sstream.c119 hdr->is_fin = 1; in ossl_quic_sstream_get_stream_frame()
159 hdr->is_fin = qss->have_final_size in ossl_quic_sstream_get_stream_frame()
H A Dquic_rx_depack.c539 frame_data.is_fin)) { in depack_do_frame_stream()
579 if (frame_data.is_fin in depack_do_frame_stream()
606 if ((frame_data.len > 0 || frame_data.is_fin) in depack_do_frame_stream()
611 frame_data.is_fin)) { in depack_do_frame_stream()
H A Dquic_txp.c2148 if (!ossl_assert(chunk->shdr.len > 0 || chunk->shdr.is_fin)) in txp_plan_stream_chunk()
2162 chunk->shdr.is_fin = 0; in txp_plan_stream_chunk()
2165 if (chunk->shdr.len == 0 && !chunk->shdr.is_fin) { in txp_plan_stream_chunk()
2317 if (shdr->is_fin) in txp_generate_stream_frames()
2325 shdr->is_fin = 0; in txp_generate_stream_frames()
2372 chunk.has_fin = shdr->is_fin; in txp_generate_stream_frames()
H A Dquic_wire.c187 if (f->is_fin) in ossl_quic_wire_encode_frame_stream_hdr()
696 f->is_fin = ((frame_type & OSSL_QUIC_FRAME_FLAG_STREAM_FIN) != 0); in ossl_quic_wire_decode_frame_stream()
H A Dqlog_event_helpers.c320 if (f.is_fin) in log_frame_actual()
H A Dquic_impl.c2674 int is_fin = 0, err, eos; in quic_read_actual() local
2688 bytes_read, &is_fin)) in quic_read_actual()
2693 bytes_read, &is_fin)) in quic_read_actual()
2714 if (is_fin && !peek) { in quic_read_actual()
2725 if (*bytes_read == 0 && is_fin) { in quic_read_actual()
H A Dquic_channel.c880 int is_fin = 0; in crypto_ensure_empty() local
885 if (!ossl_quic_rstream_available(rstream, &avail, &is_fin)) in crypto_ensure_empty()
896 int is_fin = 0; /* crypto stream is never finished, so we don't use this */ in ch_on_crypto_recv_record() local
927 &is_fin); in ch_on_crypto_recv_record()
H A Dquic_stream_map.c277 return (shdr.is_fin && shdr.len == 0) || shdr.offset < fc_limit; in stream_has_data_to_send()
/openssl/include/internal/
H A Dquic_fc.h142 unsigned char error_code, has_cwm_changed, is_fin, standalone; member
200 uint64_t end, int is_fin);
H A Dquic_wire.h186 unsigned int is_fin : 1; member
/openssl/test/
H A Dquic_stream_test.c78 || !TEST_false(hdr.is_fin)) in test_sstream_simple()
95 || !TEST_false(hdr.is_fin)) in test_sstream_simple()
121 || !TEST_false(hdr.is_fin)) in test_sstream_simple()
164 || !TEST_true(hdr.is_fin) in test_sstream_simple()
189 || !TEST_true(hdr.is_fin) in test_sstream_simple()
H A Dquic_fifd_test.c143 || !TEST_int_eq(hdr.is_fin, i == 1) in test_generic()
156 chunk.has_fin = hdr.is_fin; in test_generic()
289 || !TEST_true(hdr.is_fin) in test_generic()
H A Dquic_fc_test.c238 #define RX_OP_RX(stream_idx, end, is_fin) \ argument
239 { RX_OPC_RX, (stream_idx), (end), (is_fin) },
H A Dquic_wire_test.c383 if (!TEST_int_eq(f.is_fin, 0)) in encode_case_8_dec()
438 if (!TEST_int_eq(f.is_fin, 1)) in encode_case_9_dec()

Completed in 78 milliseconds