Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/net/
Dtcp.c404 uint32_t max_rcv_win; in tcp_xmit() local
453 max_rcv_win = ( ( freemem * 3 ) / 4 ); in tcp_xmit()
454 if ( max_rcv_win > TCP_MAX_WINDOW_SIZE ) in tcp_xmit()
455 max_rcv_win = TCP_MAX_WINDOW_SIZE; in tcp_xmit()
457 if ( max_rcv_win > app_win ) in tcp_xmit()
458 max_rcv_win = app_win; in tcp_xmit()
459 max_rcv_win &= ~0x03; /* Keep everything dword-aligned */ in tcp_xmit()
460 if ( tcp->rcv_win < max_rcv_win ) in tcp_xmit()
461 tcp->rcv_win = max_rcv_win; in tcp_xmit()