Lines Matching refs:mss
63 #define LWIP_TCP_CALC_INITIAL_CWND(mss) LWIP_MIN((4U * (mss)), LWIP_MAX((2U * (mss)), 4380U));
618 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip);
768 pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip);
771 pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss);
860 pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss);
1089 if ((tcpwnd_size_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) {
1090 pcb->cwnd += pcb->mss;
1130 if ((tcpwnd_size_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) {
1131 pcb->cwnd += pcb->mss;
1135 tcpwnd_size_t new_cwnd = (pcb->cwnd + pcb->mss * pcb->mss / pcb->cwnd);
1713 u16_t mss;
1739 mss = (tcp_getoptbyte() << 8);
1740 mss |= tcp_getoptbyte();
1741 /* Limit the mss to the configured TCP_MSS and prevent division by zero */
1742 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss;