View | Details | Raw Unified | Return to bug 2658
Collapse All | Expand All

(-)a/src/internet/model/tcp-hybla.cc (-1 / +1 lines)
 Lines 110-116   TcpHybla::SlowStart (Ptr<TcpSocketState> tcb, uint32_t segmentsAcked) Link Here 
110
      double increment = std::pow (2, m_rho) - 1.0;
110
      double increment = std::pow (2, m_rho) - 1.0;
111
      NS_LOG_INFO ("Slow start: inc=" << increment);
111
      NS_LOG_INFO ("Slow start: inc=" << increment);
112
112
113
      tcb->m_cWnd = std::min (tcb->m_cWnd + (increment * tcb->m_segmentSize),
113
      tcb->m_cWnd = std::min (tcb->m_cWnd + (uint32_t)(increment * tcb->m_segmentSize),
114
                              tcb->m_ssThresh);
114
                              tcb->m_ssThresh);
115
115
116
      NS_LOG_INFO ("In SlowStart, updated to cwnd " << tcb->m_cWnd <<
116
      NS_LOG_INFO ("In SlowStart, updated to cwnd " << tcb->m_cWnd <<

Return to bug 2658