Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Dtcp.h140 #define TCP_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16…
149 if ((tcpwnd_size_t)(wnd + inc) >= wnd) { \
150 wnd = (tcpwnd_size_t)(wnd + inc); \
152 wnd = (tcpwnd_size_t)-1; \
284 tcpwnd_size_t rcv_wnd; /* receiver window available */
285 tcpwnd_size_t rcv_ann_wnd; /* receiver window to announce */
312 tcpwnd_size_t cwnd;
313 tcpwnd_size_t ssthresh;
323 tcpwnd_size_t snd_wnd; /* sender window */
324 tcpwnd_size_t snd_wnd_max; /* the maximum sender window announced by the remote host */
[all …]
Dtcpbase.h51 typedef u32_t tcpwnd_size_t; typedef
53 typedef u16_t tcpwnd_size_t;
/third_party/lwip/src/core/
Dtcp_in.c69 #define LWIP_TCP_CALC_INITIAL_CWND(mss) ((tcpwnd_size_t)LWIP_MIN((4U * (mss)), LWIP_MAX((2U * (mss)…
81 static tcpwnd_size_t recv_acked;
879 …P_QLEN_DEBUG, ("tcp_process: SYN-SENT --queuelen %"TCPWNDSIZE_F"\n", (tcpwnd_size_t)pcb->snd_queue…
1111 (tcpwnd_size_t)pcb->snd_queuelen));
1115 recv_acked = (tcpwnd_size_t)(recv_acked + next->len);
1119 (tcpwnd_size_t)pcb->snd_queuelen,
1169 if (pcb->snd_wnd != (tcpwnd_size_t)SND_WND_SCALE(pcb, tcphdr->wnd)) {
1231 tcpwnd_size_t acked;
1249 acked = (tcpwnd_size_t)(ackno - pcb->lastack);
1259 tcpwnd_size_t increase;
[all …]
Dtcp.c953 pcb->rcv_ann_wnd = (tcpwnd_size_t)new_rcv_ann_wnd; in tcp_update_rcv_ann_wnd()
972 tcpwnd_size_t rcv_wnd; in tcp_recved()
982 rcv_wnd = (tcpwnd_size_t)(pcb->rcv_wnd + len); in tcp_recved()
1196 tcpwnd_size_t eff_wnd; in tcp_slowtmr()
1299 if (pcb->ssthresh < (tcpwnd_size_t)(pcb->mss << 1)) { in tcp_slowtmr()
1300 pcb->ssthresh = (tcpwnd_size_t)(pcb->mss << 1); in tcp_slowtmr()
Dtcp_out.c328 …LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_write: queuelen: %"TCPWNDSIZE_F"\n", (tcpwnd_size_t)pcb->snd_que… in tcp_write_checks()
/third_party/lwip/test/unit/tcp/
Dtest_tcp.c1149 EXPECT(pcb->cwnd == (tcpwnd_size_t)(2 * pcb->mss)); in START_TEST()
1165 EXPECT(pcb->cwnd == (tcpwnd_size_t)(3 * pcb->mss)); in START_TEST()
1175 EXPECT(pcb->cwnd == (tcpwnd_size_t)(3 * pcb->mss)); in START_TEST()
1178 EXPECT(pcb->bytes_acked == (tcpwnd_size_t)(2 * pcb->mss)); in START_TEST()