摘要
RFC2001和RFC2081文档描述了TCP拥塞控制方法,主要有慢启动算法、拥塞避免算法、快速重传算法和快速恢复算法;RFC2582和RFC3782文档描述了快速恢复算法NewReno修正。本文结合开源嵌入式TCP/IP协议栈LwIP,详细阐述了慢启动算法、拥塞避免算法、快速重传算法和快速恢复算法的实现方法,并根据TCP的快速恢复算法NewReno修正对LwIP的TCP拥塞控制方法的实现提出了改进建议。
RFC2001 and RFC2081 documents give a description to TCP congestion control method, mainly including Slow Start, Congestion Avoidance, Fast Retransmit and Fast Recovery Algorithms; RFC2582 and RFC3782 documents take the detailed account of NewReno Modification to TCP's Fast Recovery. Combined with open source embedded TCP/IP Protocol Stack LwlP, this article gives a detailed description to the method of realizing Slow Start, Congestion Avoidance, Fast Retransmit and Fast Recovery Algorithms in LwIP. Moreover, improving suggestion to TCP congestion method is put forward according to the NewReno Modification to TCP's Fast Recovery.