Home
last modified time | relevance | path

Searched refs:mss (Results 1 – 5 of 5) sorted by relevance

/external/lib/lwip/core/
A Dtcp_in.c503 npcb->mss = tcp_eff_send_mss(npcb->mss, &(npcb->remote_ip)); in tcp_listen_input()
652 pcb->mss = tcp_eff_send_mss(pcb->mss, &(pcb->remote_ip));
657 pcb->ssthresh = pcb->mss * 10;
659 pcb->cwnd = ((pcb->cwnd == 1) ? (pcb->mss * 2) : pcb->mss);
722 pcb->cwnd = ((old_cwnd == 1) ? (pcb->mss * 2) : pcb->mss);
950 pcb->cwnd += pcb->mss;
996 pcb->cwnd += pcb->mss;
1000 u16_t new_cwnd = (pcb->cwnd + pcb->mss * pcb->mss / pcb->cwnd);
1553 u16_t mss; local
1584 mss = (opts[c + 2] << 8) | opts[c + 3];
[all …]
A Dtcp.c583 if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { in tcp_update_rcv_ann_wnd()
752 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; in tcp_connect()
754 pcb->mss = tcp_eff_send_mss(pcb->mss, ipaddr); in tcp_connect()
757 pcb->ssthresh = pcb->mss * 10; in tcp_connect()
866 if (pcb->ssthresh < (pcb->mss << 1)) { in tcp_slowtmr()
867 pcb->ssthresh = (pcb->mss << 1); in tcp_slowtmr()
869 pcb->cwnd = pcb->mss; in tcp_slowtmr()
1317 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; in tcp_alloc()
A Dtcp_out.c373 u16_t mss_local = LWIP_MIN(pcb->mss, pcb->snd_wnd_max/2); in tcp_write()
1071 u16_t mss; in tcp_output_segment() local
1073 mss = tcp_eff_send_mss(TCP_MSS, &pcb->remote_ip); in tcp_output_segment()
1075 mss = TCP_MSS; in tcp_output_segment()
1077 *opts = TCP_BUILD_MSS_OPTION(mss); in tcp_output_segment()
1341 if (pcb->ssthresh < 2*pcb->mss) { in tcp_rexmit_fast()
1345 pcb->ssthresh, 2*pcb->mss)); in tcp_rexmit_fast()
1346 pcb->ssthresh = 2*pcb->mss; in tcp_rexmit_fast()
1349 pcb->cwnd = pcb->ssthresh + 3 * pcb->mss; in tcp_rexmit_fast()
/external/lib/lwip/include/lwip/
A Dtcp.h204 u16_t mss; /* maximum segment size */ member
325 … tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pcb)->mss)
A Dtcp_impl.h87 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
303 #define TCP_BUILD_MSS_OPTION(mss) htonl(0x02040000 | ((mss) & 0xFFFF)) argument

Completed in 16 milliseconds