Home
last modified time | relevance | path

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

/openssl/ssl/quic/
H A Dquic_trace.c79 OSSL_QUIC_ACK_RANGE *ack_ranges = NULL; in frame_ack() local
86 || total_ranges > SIZE_MAX / sizeof(ack_ranges[0]) in frame_ack()
87 || (ack_ranges = OPENSSL_zalloc(sizeof(ack_ranges[0]) in frame_ack()
91 ack.ack_ranges = ack_ranges; in frame_ack()
99 (unsigned long long)ack.ack_ranges[0].end); in frame_ack()
105 (unsigned long long)(ack.ack_ranges[0].end in frame_ack()
106 - ack.ack_ranges[0].start)); in frame_ack()
109 (unsigned long long)(ack.ack_ranges[i - 1].start in frame_ack()
112 (unsigned long long)(ack.ack_ranges[i].end in frame_ack()
113 - ack.ack_ranges[i].start)); in frame_ack()
[all …]
H A Dqlog_event_helpers.c211 OSSL_QUIC_ACK_RANGE ack_ranges[MAX_ACK_RANGES]; in log_frame_actual() local
241 ack.ack_ranges = ack_ranges; in log_frame_actual()
242 ack.num_ack_ranges = OSSL_NELEM(ack_ranges); in log_frame_actual()
256 QLOG_U64(NULL, ack.ack_ranges[i].start); in log_frame_actual()
257 if (ack.ack_ranges[i].end != ack.ack_ranges[i].start) in log_frame_actual()
258 QLOG_U64(NULL, ack.ack_ranges[i].end); in log_frame_actual()
H A Dquic_ackm.c692 pkt = tx_pkt_history_by_pkt_num(h, ack->ack_ranges[0].end); in ackm_detect_and_remove_newly_acked_pkts()
720 } else if (pkt->pkt_num > ack->ack_ranges[ridx].end) { in ackm_detect_and_remove_newly_acked_pkts()
1156 ack->ack_ranges[0].end); in ossl_ackm_on_rx_ack_frame()
1185 if (na_pkts->pkt_num == ack->ack_ranges[0].end && in ossl_ackm_on_rx_ack_frame()
1395 if (range_contains(&ack->ack_ranges[i], pkt_num)) in ack_contains()
1412 && pkt_num <= ackm->ack[pkt_space].ack_ranges[0].end in ackm_is_missing()
1445 > ackm->ack[pkt_space].ack_ranges[0].end + 1; in ackm_has_newly_missing()
1605 x != NULL && i < OSSL_NELEM(ackm->ack_ranges); in ackm_fill_rx_ack_ranges()
1607 ackm->ack_ranges[pkt_space][i].start = x->range.start; in ackm_fill_rx_ack_ranges()
1608 ackm->ack_ranges[pkt_space][i].end = x->range.end; in ackm_fill_rx_ack_ranges()
[all …]
H A Dquic_wire.c24 if (pn >= ack->ack_ranges[i].start in OSSL_SAFE_MATH_UNSIGNED()
25 && pn <= ack->ack_ranges[i].end) in OSSL_SAFE_MATH_UNSIGNED()
73 largest_ackd = ack->ack_ranges[0].end; in ossl_quic_wire_encode_frame_ack()
74 first_ack_range = ack->ack_ranges[0].end - ack->ack_ranges[0].start; in ossl_quic_wire_encode_frame_ack()
86 gap = ack->ack_ranges[i - 1].start - ack->ack_ranges[i].end - 2; in ossl_quic_wire_encode_frame_ack()
87 range_len = ack->ack_ranges[i].end - ack->ack_ranges[i].start; in ossl_quic_wire_encode_frame_ack()
552 ack->ack_ranges[0].end = largest_ackd; in ossl_quic_wire_decode_frame_ack()
553 ack->ack_ranges[0].start = start; in ossl_quic_wire_decode_frame_ack()
569 ack->ack_ranges[i + 1].start = start = end - len; in ossl_quic_wire_decode_frame_ack()
570 ack->ack_ranges[i + 1].end = end; in ossl_quic_wire_decode_frame_ack()
H A Dquic_rx_depack.c86 ack.ack_ranges = ch->ack_range_scratch; in depack_do_frame_ack()
95 && ack.ack_ranges[0].end >= ch->txku_pn) { in depack_do_frame_ack()
H A Dquic_txp.c1858 tpkt->ackm_pkt.largest_acked = ack->ack_ranges[0].end; in txp_generate_pre_token()
/openssl/test/
H A Dquic_fifd_test.c116 OSSL_QUIC_ACK_RANGE ack_ranges[1] = {0}; in test_generic() local
189 ack_ranges[0].start = 0; in test_generic()
190 ack_ranges[0].end = 0; in test_generic()
191 ack.ack_ranges = ack_ranges; in test_generic()
240 ack_ranges[0].start = 50; in test_generic()
241 ack_ranges[0].end = 50; in test_generic()
242 ack.ack_ranges = ack_ranges; in test_generic()
H A Dquic_ackm_test.c146 const OSSL_QUIC_ACK_RANGE *ack_ranges; member
399 ack.ack_ranges = (OSSL_QUIC_ACK_RANGE *)c->ack_ranges; in test_tx_ack_case_actual()
571 ack.ack_ranges = &ack_range; in test_tx_ack_time_script()
635 const OSSL_QUIC_ACK_RANGE *ack_ranges; /* CHECK_ACKS */ member
665 #define RX_OP_CHECK_ACKS(advance, ack_ranges) \ argument
668 0, 0, (ack_ranges), OSSL_NELEM(ack_ranges), 0 \
1014 if (!TEST_uint64_t_eq(ack->ack_ranges[i].start, in test_rx_ack_actual()
1015 s->ack_ranges[i].start)) in test_rx_ack_actual()
1017 if (!TEST_uint64_t_eq(ack->ack_ranges[i].end, in test_rx_ack_actual()
1018 s->ack_ranges[i].end)) in test_rx_ack_actual()
[all …]
H A Dquic_wire_test.c103 f.ack_ranges = ranges; in encode_case_3_dec()
129 if (!TEST_mem_eq(f.ack_ranges, in encode_case_3_dec()
131 encode_case_3_f.ack_ranges, in encode_case_3_dec()
1385 f.ack_ranges = ranges; in ack_generic_decode()
1400 if (!TEST_uint64_t_le(f.ack_ranges[i].start, f.ack_ranges[i].end)) in ack_generic_decode()
1402 if (!TEST_uint64_t_lt(f.ack_ranges[i].end, 1000)) in ack_generic_decode()
H A Dquic_txp_test.c76 OSSL_QUIC_ACK_RANGE ack_ranges[16]; member
1394 h.frame.ack.ack_ranges = h.ack_ranges; in run_script()
1395 h.frame.ack.num_ack_ranges = OSSL_NELEM(h.ack_ranges); in run_script()
/openssl/include/internal/
H A Dquic_wire.h156 OSSL_QUIC_ACK_RANGE *ack_ranges; member
/openssl/doc/designs/quic-design/
H A Dquic-ackm.md280 * As such, ack_ranges[0].end is always the highest packet number
281 * being acknowledged and ack_ranges[num_ack_ranges-1].start is
287 const OSSL_ACKM_ACK_RANGE *ack_ranges;

Completed in 52 milliseconds