Home
last modified time | relevance | path

Searched refs:cwnd (Results 1 – 6 of 6) sorted by relevance

/lib/liblwip/src/core/
Dtcp_in.c651 pcb->cwnd = ((pcb->cwnd == 1) ? (pcb->mss * 2) : pcb->mss); in tcp_process()
704 old_cwnd = pcb->cwnd; 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()
965 pcb->cwnd = pcb->ssthresh; in tcp_receive()
986 if (pcb->cwnd < pcb->ssthresh) { in tcp_receive()
987 if ((u16_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) { in tcp_receive()
988 pcb->cwnd += pcb->mss; in tcp_receive()
990 LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_receive: slow start cwnd %"U16_F"\n", pcb->cwnd)); in tcp_receive()
[all …]
Dtcp_out.c918 wnd = LWIP_MIN(pcb->snd_wnd, pcb->cwnd); in tcp_output()
951 pcb->snd_wnd, pcb->cwnd, wnd, pcb->lastack)); in tcp_output()
956 pcb->snd_wnd, pcb->cwnd, wnd, in tcp_output()
979 pcb->snd_wnd, pcb->cwnd, wnd, in tcp_output()
1334 if (pcb->cwnd > pcb->snd_wnd) { in tcp_rexmit_fast()
1337 pcb->ssthresh = pcb->cwnd / 2; in tcp_rexmit_fast()
1349 pcb->cwnd = pcb->ssthresh + 3 * pcb->mss; in tcp_rexmit_fast()
Dtcp.c756 pcb->cwnd = 1; in tcp_connect()
864 eff_wnd = LWIP_MIN(pcb->cwnd, pcb->snd_wnd); in tcp_slowtmr()
869 pcb->cwnd = pcb->mss; in tcp_slowtmr()
872 pcb->cwnd, pcb->ssthresh)); in tcp_slowtmr()
1322 pcb->cwnd = 1; in tcp_alloc()
/lib/liblwip/test/unit/tcp/
Dtest_tcp.c154 pcb->cwnd = pcb->snd_wnd; in START_TEST()
351 pcb->cwnd = 2*TCP_MSS; in START_TEST()
450 pcb->cwnd = 2*TCP_MSS; in START_TEST()
480 pcb->cwnd = pcb->snd_wnd; in START_TEST()
537 pcb->cwnd = pcb->snd_wnd; in test_tcp_tx_full_window_lost()
/lib/liblwip/src/include/lwip/
Dtcp.h219 u16_t cwnd; member
/lib/liblwip/
DCHANGELOG1045 * tcp_in.c: fix BUG#27445: grow cwnd with every duplicate ACK
1301 * tcp_out.c: bug #24212: Deadlocked tcp_retransmit due to exceeded pcb->cwnd