Searched refs:mss (Results 1 – 7 of 7) sorted by relevance
| /lib/liblwip/src/core/ |
| D | tcp_in.c | 503 npcb->mss = tcp_eff_send_mss(npcb->mss, &(npcb->remote_ip)); in tcp_listen_input() 644 pcb->mss = tcp_eff_send_mss(pcb->mss, &(pcb->remote_ip)); in tcp_process() 649 pcb->ssthresh = pcb->mss * 10; in tcp_process() 651 pcb->cwnd = ((pcb->cwnd == 1) ? (pcb->mss * 2) : pcb->mss); in tcp_process() 714 pcb->cwnd = ((old_cwnd == 1) ? (pcb->mss * 2) : pcb->mss); in tcp_process() 941 if ((u16_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) { in tcp_receive() 942 pcb->cwnd += pcb->mss; in tcp_receive() 987 if ((u16_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) { in tcp_receive() 988 pcb->cwnd += pcb->mss; in tcp_receive() 992 u16_t new_cwnd = (pcb->cwnd + pcb->mss * pcb->mss / pcb->cwnd); in tcp_receive() [all …]
|
| D | tcp_out.c | 373 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()
|
| D | tcp.c | 583 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()
|
| /lib/liblwip/src/include/lwip/ |
| D | tcp.h | 204 u16_t mss; /* maximum segment size */ member 325 … tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pcb)->mss)
|
| D | tcp_impl.h | 87 ((tpcb)->unsent->len >= (tpcb)->mss))) || \ 303 #define TCP_BUILD_MSS_OPTION(mss) htonl(0x02040000 | ((mss) & 0xFFFF)) argument
|
| /lib/liblwip/test/unit/tcp/ |
| D | test_tcp.c | 152 pcb->mss = TCP_MSS; in START_TEST() 349 pcb->mss = TCP_MSS; in START_TEST() 448 pcb->mss = TCP_MSS; in START_TEST() 535 pcb->mss = TCP_MSS; in test_tcp_tx_full_window_lost()
|
| /lib/liblwip/ |
| D | CHANGELOG | 242 * tcp_out.c: use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs 1491 host sent a zero mss as TCP option. 1608 * tcp.h, opt.h, tcp.c, tcp_in.c: implemented calculating the effective send-mss 1848 2 * mss (instead of 1 * mss previously) to comply with some newer RFCs and 2190 * tcp.c, tcp_in.c: Fixed bug #21494: The send mss (pcb->mss) is set to 536 (or 2196 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively
|