Lines Matching refs:mss
503 npcb->mss = tcp_eff_send_mss(npcb->mss, &(npcb->remote_ip));
644 pcb->mss = tcp_eff_send_mss(pcb->mss, &(pcb->remote_ip));
647 /* Set ssthresh again after changing pcb->mss (already set in tcp_connect
648 * but for the default value of pcb->mss) */
649 pcb->ssthresh = pcb->mss * 10;
651 pcb->cwnd = ((pcb->cwnd == 1) ? (pcb->mss * 2) : pcb->mss);
714 pcb->cwnd = ((old_cwnd == 1) ? (pcb->mss * 2) : pcb->mss);
941 if ((u16_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) {
942 pcb->cwnd += pcb->mss;
987 if ((u16_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) {
988 pcb->cwnd += pcb->mss;
992 u16_t new_cwnd = (pcb->cwnd + pcb->mss * pcb->mss / pcb->cwnd);
1545 u16_t mss;
1576 mss = (opts[c + 2] << 8) | opts[c + 3];
1577 /* Limit the mss to the configured TCP_MSS and prevent division by zero */
1578 pcb->mss = ((mss > TCP_MSS) || (mss == 0)) ? TCP_MSS : mss;