Searched refs:pmtud (Results 1 – 5 of 5) sorted by relevance
49 ngtcp2_pmtud *pmtud = ngtcp2_mem_malloc(mem, sizeof(ngtcp2_pmtud)); in ngtcp2_pmtud_new() local51 if (pmtud == NULL) { in ngtcp2_pmtud_new()55 pmtud->mem = mem; in ngtcp2_pmtud_new()56 pmtud->mtu_idx = 0; in ngtcp2_pmtud_new()57 pmtud->num_pkts_sent = 0; in ngtcp2_pmtud_new()58 pmtud->expiry = UINT64_MAX; in ngtcp2_pmtud_new()59 pmtud->tx_pkt_num = tx_pkt_num; in ngtcp2_pmtud_new()60 pmtud->max_udp_payload_size = max_udp_payload_size; in ngtcp2_pmtud_new()61 pmtud->hard_max_udp_payload_size = hard_max_udp_payload_size; in ngtcp2_pmtud_new()62 pmtud->min_fail_udp_payload_size = SIZE_MAX; in ngtcp2_pmtud_new()[all …]
86 void ngtcp2_pmtud_del(ngtcp2_pmtud *pmtud);92 size_t ngtcp2_pmtud_probelen(ngtcp2_pmtud *pmtud);98 void ngtcp2_pmtud_probe_sent(ngtcp2_pmtud *pmtud, ngtcp2_duration pto,105 int ngtcp2_pmtud_require_probe(ngtcp2_pmtud *pmtud);111 void ngtcp2_pmtud_probe_success(ngtcp2_pmtud *pmtud, size_t payloadlen);116 void ngtcp2_pmtud_handle_expiry(ngtcp2_pmtud *pmtud, ngtcp2_tstamp ts);121 int ngtcp2_pmtud_finished(ngtcp2_pmtud *pmtud);
759 if ((ent->flags & NGTCP2_RTB_ENTRY_FLAG_PMTUD_PROBE) && conn->pmtud && in rtb_process_acked_pkt()760 conn->pmtud->tx_pkt_num <= ent->hd.pkt_num) { in rtb_process_acked_pkt()761 ngtcp2_pmtud_probe_success(conn->pmtud, ent->pktlen); in rtb_process_acked_pkt()766 if (ngtcp2_pmtud_finished(conn->pmtud)) { in rtb_process_acked_pkt()
674 ngtcp2_pmtud *pmtud; member
1582 ngtcp2_pmtud_del(conn->pmtud); in ngtcp2_conn_del()4686 assert(!conn->pmtud); in conn_start_pmtud()4696 rv = ngtcp2_pmtud_new(&conn->pmtud, conn->dcid.current.max_udp_payload_size, in conn_start_pmtud()4703 if (ngtcp2_pmtud_finished(conn->pmtud)) { in conn_start_pmtud()4715 if (!conn->pmtud) { in ngtcp2_conn_stop_pmtud()4719 ngtcp2_pmtud_del(conn->pmtud); in ngtcp2_conn_stop_pmtud()4721 conn->pmtud = NULL; in ngtcp2_conn_stop_pmtud()4731 assert(conn->pmtud); in conn_write_pmtud_probe()4732 assert(!ngtcp2_pmtud_finished(conn->pmtud)); in conn_write_pmtud_probe()4734 if (!ngtcp2_pmtud_require_probe(conn->pmtud)) { in conn_write_pmtud_probe()[all …]