Home
last modified time | relevance | path

Searched refs:TCPWND_MIN16 (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/include/lwip/priv/
Dtcp_priv.h317 #define TCPWND_MIN16(x) ((u16_t)LWIP_MIN((x), 0xFFFF)) macro
322 #define TCPWND_MIN16(x) x macro
/third_party/lwip/src/core/
Dtcp_out.c417 mss_local = LWIP_MIN(pcb->mss, TCPWND_MIN16(pcb->snd_wnd_max / 2)); in tcp_write()
1485 seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(pcb->rcv_ann_wnd)); in tcp_output_segment()
1489 seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); in tcp_output_segment()
1863 TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); in tcp_output_alloc_header()
Dtcp.c1153 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND); in tcp_connect()
1896 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND); in tcp_alloc()
Dtcp_in.c1966 LWIP_ASSERT("window not at default value", pcb->rcv_wnd == TCPWND_MIN16(TCP_WND));
1967 LWIP_ASSERT("window not at default value", pcb->rcv_ann_wnd == TCPWND_MIN16(TCP_WND));