Searched refs:TCPWND_MIN16 (Results 1 – 4 of 4) sorted by relevance
317 #define TCPWND_MIN16(x) ((u16_t)LWIP_MIN((x), 0xFFFF)) macro322 #define TCPWND_MIN16(x) x macro
417 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()
1153 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()
1966 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));