Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/ip/
Dtcp.c451 conn, step, conn->ca.cwnd, conn->ca.ssthresh, in tcp_new_reno_log()
457 conn->ca.cwnd = conn_mss(conn) * TCP_CONGESTION_INITIAL_WIN; in tcp_new_reno_init()
468 conn->ca.cwnd = conn_mss(conn) * 3 + conn->ca.ssthresh; in tcp_new_reno_fast_retransmit()
477 conn->ca.cwnd = conn_mss(conn); in tcp_new_reno_timeout()
484 int32_t new_win = conn->ca.cwnd; in tcp_new_reno_dup_ack()
487 conn->ca.cwnd = MIN(new_win, UINT16_MAX); in tcp_new_reno_dup_ack()
493 int32_t new_win = conn->ca.cwnd; in tcp_new_reno_pkts_acked()
497 if (conn->ca.cwnd < conn->ca.ssthresh) { in tcp_new_reno_pkts_acked()
501 new_win += ((win_inc * win_inc) + conn->ca.cwnd - 1) / conn->ca.cwnd; in tcp_new_reno_pkts_acked()
503 conn->ca.cwnd = MIN(new_win, UINT16_MAX); in tcp_new_reno_pkts_acked()
[all …]
Dtcp_private.h247 uint16_t cwnd; member