Searched refs:TCPWND_MIN16 (Results 1 – 5 of 5) sorted by relevance
317 #define TCPWND_MIN16(x) ((u16_t)LWIP_MIN((x), 0xFFFF)) macro322 #define TCPWND_MIN16(x) x macro
429 mss_local = LWIP_MIN(pcb->mss, TCPWND_MIN16(pcb->snd_wnd_max / 2)); in tcp_write()1497 seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(pcb->rcv_ann_wnd)); in tcp_output_segment()1501 seg->tcphdr->wnd = lwip_htons(TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); in tcp_output_segment()1875 TCPWND_MIN16(RCV_WND_SCALE(pcb, pcb->rcv_ann_wnd))); in tcp_output_alloc_header()
1330 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND);2073 pcb->rcv_wnd = pcb->rcv_ann_wnd = TCPWND_MIN16(TCP_WND);
2000 LWIP_ASSERT("window not at default value", pcb->rcv_wnd == TCPWND_MIN16(TCP_WND));2001 LWIP_ASSERT("window not at default value", pcb->rcv_ann_wnd == TCPWND_MIN16(TCP_WND));
274 + mss_local = LWIP_MIN(pcb->mss, TCPWND_MIN16(pcb->snd_wnd_max / 2));