Searched refs:unsent_len (Results 1 – 1 of 1) sorted by relevance
1711 int unsent_len; in tcp_unsent_len() local1716 unsent_len = -ERANGE; in tcp_unsent_len()1720 unsent_len = conn->send_data_total - conn->unacked_len; in tcp_unsent_len()1722 unsent_len = 0; in tcp_unsent_len()1724 unsent_len = MIN(unsent_len, conn->send_win - conn->unacked_len); in tcp_unsent_len()1728 unsent_len = 0; in tcp_unsent_len()1730 unsent_len = MIN(unsent_len, conn->ca.cwnd - conn->unacked_len); in tcp_unsent_len()1735 return unsent_len; in tcp_unsent_len()