Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/ip/
Dtcp_private.h133 #define conn_mss(_conn) \ macro
152 (uint16_t)conn_mss((_conn))); \
Dtcp.c457 conn->ca.cwnd = conn_mss(conn) * TCP_CONGESTION_INITIAL_WIN; in tcp_new_reno_init()
458 conn->ca.ssthresh = conn_mss(conn) * TCP_CONGESTION_INITIAL_SSTHRESH; in tcp_new_reno_init()
466 conn->ca.ssthresh = MAX(conn_mss(conn) * 2, conn->unacked_len / 2); in tcp_new_reno_fast_retransmit()
468 conn->ca.cwnd = conn_mss(conn) * 3 + conn->ca.ssthresh; in tcp_new_reno_fast_retransmit()
476 conn->ca.ssthresh = MAX(conn_mss(conn) * 2, conn->unacked_len / 2); in tcp_new_reno_timeout()
477 conn->ca.cwnd = conn_mss(conn); in tcp_new_reno_timeout()
486 new_win += conn_mss(conn); in tcp_new_reno_dup_ack()
494 int32_t win_inc = MIN(acked_len, conn_mss(conn)); in tcp_new_reno_pkts_acked()
1164 int32_t threshold = MIN(conn_mss(conn), conn->recv_win_max / 2); in tcp_short_window()
1175 int32_t threshold = MAX(conn_mss(conn), conn->recv_win_max / 2); in tcp_need_window_update()
[all …]