Home
last modified time | relevance | path

Searched refs:num_ack_ranges (Results 1 – 12 of 12) sorted by relevance

/openssl/ssl/quic/
H A Dquic_wire.c23 for (i = 0; i < ack->num_ack_ranges; ++i) in OSSL_SAFE_MATH_UNSIGNED()
63 uint64_t i, num_ack_ranges = ack->num_ack_ranges; in ossl_quic_wire_encode_frame_ack() local
66 if (num_ack_ranges == 0) in ossl_quic_wire_encode_frame_ack()
79 || !WPACKET_quic_write_vlint(pkt, num_ack_ranges - 1) in ossl_quic_wire_encode_frame_ack()
83 for (i = 1; i < num_ack_ranges; ++i) { in ossl_quic_wire_encode_frame_ack()
551 if (ack->num_ack_ranges > 0) { in ossl_quic_wire_decode_frame_ack()
568 if (ack != NULL && i + 1 < ack->num_ack_ranges) { in ossl_quic_wire_decode_frame_ack()
574 if (ack != NULL && ack_range_count + 1 < ack->num_ack_ranges) in ossl_quic_wire_decode_frame_ack()
575 ack->num_ack_ranges = (size_t)ack_range_count + 1; in ossl_quic_wire_decode_frame_ack()
H A Dquic_ackm.c677 assert(ack->num_ack_ranges > 0); in ackm_detect_and_remove_newly_acked_pkts()
704 if (ridx >= ack->num_ack_ranges) { in ackm_detect_and_remove_newly_acked_pkts()
1394 for (i = 0; i < ack->num_ack_ranges; ++i) in ack_contains()
1411 return ackm->ack[pkt_space].num_ack_ranges > 0 in ackm_is_missing()
1441 return ackm->ack[pkt_space].num_ack_ranges > 0 in ackm_has_newly_missing()
1612 ack->num_ack_ranges = i; in ackm_fill_rx_ack_ranges()
H A Dqlog_event_helpers.c242 ack.num_ack_ranges = OSSL_NELEM(ack_ranges); in log_frame_actual()
254 for (i = 0; i < ack.num_ack_ranges; ++i) { in log_frame_actual()
H A Dquic_trace.c92 ack.num_ack_ranges = (size_t)total_ranges; in frame_ack()
H A Dquic_rx_depack.c87 ack.num_ack_ranges = (size_t)total_ranges; in depack_do_frame_ack()
H A Dquic_txp.c1857 if (ack->num_ack_ranges > 0) in txp_generate_pre_token()
/openssl/test/
H A Dquic_ackm_test.c147 size_t num_ack_ranges; member
400 ack.num_ack_ranges = c->num_ack_ranges; in test_tx_ack_case_actual()
572 ack.num_ack_ranges = 1; in test_tx_ack_time_script()
636 size_t num_ack_ranges; /* CHECK_ACKS */ member
1010 if (!TEST_size_t_eq(ack->num_ack_ranges, s->num_ack_ranges)) in test_rx_ack_actual()
1013 for (i = 0; i < ack->num_ack_ranges; ++i) { in test_rx_ack_actual()
1047 rx_ack.num_ack_ranges = 1; in test_rx_ack_actual()
H A Dquic_wire_test.c104 f.num_ack_ranges = OSSL_NELEM(ranges); in encode_case_3_dec()
122 if (!TEST_uint64_t_le(f.num_ack_ranges * sizeof(OSSL_QUIC_ACK_RANGE), in encode_case_3_dec()
124 || !TEST_uint64_t_le(encode_case_3_f.num_ack_ranges in encode_case_3_dec()
130 (size_t)f.num_ack_ranges * sizeof(OSSL_QUIC_ACK_RANGE), in encode_case_3_dec()
132 (size_t)encode_case_3_f.num_ack_ranges * sizeof(OSSL_QUIC_ACK_RANGE))) in encode_case_3_dec()
1386 f.num_ack_ranges = OSSL_NELEM(ranges); in ack_generic_decode()
1399 for (i = 0; i < f.num_ack_ranges; ++i) { in ack_generic_decode()
H A Dquic_fifd_test.c192 ack.num_ack_ranges = 1; in test_generic()
243 ack.num_ack_ranges = 1; in test_generic()
H A Dquic_txp_test.c1395 h.frame.ack.num_ack_ranges = OSSL_NELEM(h.ack_ranges); in run_script()
/openssl/include/internal/
H A Dquic_wire.h157 size_t num_ack_ranges; member
/openssl/doc/designs/quic-design/
H A Dquic-ackm.md281 * being acknowledged and ack_ranges[num_ack_ranges-1].start is
284 * num_ack_ranges must be greater than zero, as an ACK frame must
288 size_t num_ack_ranges;

Completed in 59 milliseconds