Lines Matching refs:m_mss
236 m_mss = MIN_PACKET - PACKET_OVERHEAD; in PseudoTcp()
241 m_cwnd = 2 * m_mss; in PseudoTcp()
306 m_ssthresh = std::max(nInFlight / 2, 2 * m_mss); in NotifyClock()
309 m_cwnd = m_mss; in NotifyClock()
439 std::min<uint32_t>(m_rbuf_len / 2, m_mss)) { in Recv()
761 m_cwnd = std::min(m_ssthresh, nInFlight + m_mss); // (Fast Retransmit) in process()
774 m_cwnd += m_mss - std::min(nAcked, m_cwnd); in process()
780 m_cwnd += m_mss; in process()
782 m_cwnd += std::max<uint32_t>(1, m_mss * m_mss / m_cwnd); in process()
806 m_ssthresh = std::max(nInFlight / 2, 2 * m_mss); in process()
809 m_cwnd = m_ssthresh + 3 * m_mss; in process()
811 m_cwnd += m_mss; in process()
999 uint32_t nTransmit = std::min(seg->len, m_mss); in transmit()
1025 m_mss = PACKET_MAXIMUMS[++m_msslevel] - PACKET_OVERHEAD; in transmit()
1026 m_cwnd = 2 * m_mss; // I added this... haven't researched actual formula in transmit()
1027 if (m_mss < nTransmit) { in transmit()
1028 nTransmit = m_mss; in transmit()
1033 RTC_LOG(LS_INFO) << "Adjusting mss to " << m_mss << " bytes"; in transmit()
1038 RTC_LOG_F(LS_VERBOSE) << "mss reduced to " << m_mss; in transmit()
1065 m_cwnd = m_mss; in attemptSend()
1075 cwnd += m_dup_acks * m_mss; in attemptSend()
1084 std::min(static_cast<uint32_t>(snd_buffered) - nInFlight, m_mss); in attemptSend()
1127 if (m_use_nagling && (m_snd_nxt > m_snd_una) && (nAvailable < m_mss)) { in attemptSend()
1172 m_mss = m_mtu_advise - PACKET_OVERHEAD; in adjustMTU()
1175 RTC_LOG(LS_INFO) << "Adjusting mss to " << m_mss << " bytes"; in adjustMTU()
1178 m_ssthresh = std::max(m_ssthresh, 2 * m_mss); in adjustMTU()
1179 m_cwnd = std::max(m_cwnd, m_mss); in adjustMTU()