Searched refs:ngtcp2_max (Results 1 - 13 of 13) sorted by relevance
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_bbr2.c | 490 bbr->bw_latest = ngtcp2_max(bbr->bw_latest, cstat->delivery_rate_sec); in bbr_update_latest_delivery_signals() 492 ngtcp2_max(bbr->inflight_latest, bbr->rst->rs.delivered); in bbr_update_latest_delivery_signals() 556 bbr->bw_lo = ngtcp2_max(bbr->bw_latest, bbr->bw_lo * NGTCP2_BBR_BETA_NUMER / in bbr_loss_lower_bounds() 558 bbr->inflight_lo = ngtcp2_max(bbr->inflight_latest, in bbr_loss_lower_bounds() 801 headroom = ngtcp2_max(cstat->max_udp_payload_size, in bbr_inflight_with_headroom() 807 return ngtcp2_max(bbr->inflight_hi - headroom, mpcwnd); in bbr_inflight_with_headroom() 819 bbr->probe_up_cnt = ngtcp2_max(cstat->cwnd / growth_this_round, 1) * in bbr_raise_inflight_hi_slope() 948 bbr->inflight_hi = ngtcp2_max( in bbr_handle_inflight_too_high() 1155 inflight = ngtcp2_max(inflight, bbr->offload_budget); in bbr_quantization_budget() 1156 inflight = ngtcp2_max(infligh in bbr_quantization_budget() [all...] |
H A D | ngtcp2_cc.c | 40 n = ngtcp2_max(n, 14720); in ngtcp2_cc_compute_initcwnd() 148 cstat->cwnd = ngtcp2_max(cstat->cwnd, min_cwnd); in ngtcp2_cc_reno_cc_congestion_event() 178 ngtcp2_max(cc->max_delivery_rate_sec, cstat->delivery_rate_sec); in ngtcp2_cc_reno_cc_on_ack_recv() 183 cc->target_cwnd = ngtcp2_max(initcwnd, target_cwnd) * 289 / 100; in ngtcp2_cc_reno_cc_on_ack_recv() 472 cstat->ssthresh = ngtcp2_max(cstat->ssthresh, min_cwnd); in ngtcp2_cc_cubic_cc_congestion_event() 535 ngtcp2_max(cc->max_delivery_rate_sec, cstat->delivery_rate_sec); in ngtcp2_cc_cubic_cc_on_ack_recv() 540 cc->target_cwnd = ngtcp2_max(initcwnd, target_cwnd) * 289 / 100; in ngtcp2_cc_cubic_cc_on_ack_recv()
|
H A D | ngtcp2_bbr.c | 311 ngtcp2_max(ack->bytes_delivered, cstat->max_udp_payload_size); in bbr_handle_recovery() 388 ngtcp2_max(cstat->send_quantum, cstat->max_udp_payload_size * 10); in bbr_set_send_quantum() 416 cstat->cwnd = ngtcp2_max(cstat->cwnd, 2 * cstat->max_udp_payload_size); in bbr_modulate_cwnd_for_recovery() 424 ngtcp2_max(cstat->cwnd, cstat->bytes_in_flight + ack->bytes_delivered); in bbr_modulate_cwnd_for_recovery() 434 cc->prior_cwnd = ngtcp2_max(cc->prior_cwnd, cstat->cwnd); in bbr_save_cwnd() 438 cstat->cwnd = ngtcp2_max(cstat->cwnd, cc->prior_cwnd); in bbr_restore_cwnd() 468 ngtcp2_max(cstat->cwnd, min_pipe_cwnd(cstat->max_udp_payload_size)); in bbr_set_cwnd()
|
H A D | ngtcp2_macro.h | 37 #define ngtcp2_max(A, B) ((A) > (B) ? (A) : (B)) macro
|
H A D | ngtcp2_range.c | 36 uint64_t begin = ngtcp2_max(a->begin, b->begin); in ngtcp2_range_intersect()
|
H A D | ngtcp2_pmtud.c | 130 ngtcp2_max(pmtud->max_udp_payload_size, payloadlen); in ngtcp2_pmtud_probe_success()
|
H A D | ngtcp2_rst.c | 90 rs->interval = ngtcp2_max(rs->send_elapsed, rs->ack_elapsed); in ngtcp2_rst_on_ack_recv()
|
H A D | ngtcp2_pv.c | 146 t = ngtcp2_max(t, ent->expiry); in ngtcp2_pv_validation_timed_out()
|
H A D | ngtcp2_pq.c | 72 ncapacity = ngtcp2_max(4, (pq->capacity * 2)); in ngtcp2_pq_push()
|
H A D | ngtcp2_rtb.c | 764 ngtcp2_max(conn->dcid.current.max_udp_payload_size, ent->pktlen); in rtb_process_acked_pkt() 1160 ngtcp2_max(cstat->latest_rtt, cstat->smoothed_rtt) * 9 / 8; in compute_pkt_loss_delay() 1161 return ngtcp2_max(loss_delay, NGTCP2_GRANULARITY); in compute_pkt_loss_delay() 1199 pkt_thres = ngtcp2_max(pkt_thres, NGTCP2_PKT_THRESHOLD); in rtb_detect_lost_pkt() 1222 ngtcp2_max(4 * cstat->rttvar, NGTCP2_GRANULARITY) + max_ack_delay) * in rtb_detect_lost_pkt() 1225 start_ts = ngtcp2_max(rtb->persistent_congestion_start_ts, in rtb_detect_lost_pkt()
|
H A D | ngtcp2_conn.c | 856 ngtcp2_duration var = ngtcp2_max(4 * rttvar, NGTCP2_GRANULARITY); in compute_pto() 2383 ngtcp2_max(write_datalen, NGTCP2_MIN_COALESCED_PAYLOADLEN); in conn_should_pad_pkt() 2397 min_payloadlen = ngtcp2_max(write_datalen, NGTCP2_MIN_COALESCED_PAYLOADLEN); in conn_should_pad_pkt() 4957 timeout = ngtcp2_max(timeout, 3 * conn->cstat.initial_rtt); in conn_write_path_challenge() 5576 conn->tx.max_offset = ngtcp2_max(conn->tx.max_offset, fr->max_data); in conn_recv_max_data() 5944 timeout = 3 * ngtcp2_max(pto, pv->fallback_pto); in conn_recv_path_response() 6968 crypto->rx.last_offset = ngtcp2_max(crypto->rx.last_offset, fr_end_offset); in conn_recv_crypto() 7167 strm->rx.last_offset = ngtcp2_max(strm->rx.last_offset, fr_end_offset); in conn_recv_stream() 8134 timeout = 3 * ngtcp2_max(pto, initial_pto); in conn_select_preferred_addr() 8432 timeout = 3 * ngtcp2_max(pt in conn_recv_non_probing_pkt_on_new_path() [all...] |
H A D | ngtcp2_ksl.c | 818 !(ngtcp2_max(a->begin, b->begin) < ngtcp2_min(a->end, b->end)); in ngtcp2_ksl_range_exclusive_compar()
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/ |
H A D | shared.c | 132 return ngtcp2_max(8, noncelen); in ngtcp2_crypto_packet_protection_ivlen()
|
Completed in 24 milliseconds