Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/
Dtcp_input.c766 (tp->snd_cwnd>>1) > dst->ssthresh) in tcp_update_metrics()
767 dst->ssthresh = (tp->snd_cwnd>>1); in tcp_update_metrics()
769 tp->snd_cwnd > dst->cwnd) in tcp_update_metrics()
770 dst->cwnd = tp->snd_cwnd; in tcp_update_metrics()
771 } else if (tp->snd_cwnd > tp->snd_ssthresh && in tcp_update_metrics()
775 dst->ssthresh = max(tp->snd_cwnd>>1, tp->snd_ssthresh); in tcp_update_metrics()
777 dst->cwnd = (dst->cwnd + tp->snd_cwnd)>>1; in tcp_update_metrics()
876 tp->snd_cwnd = tcp_init_cwnd(tp); in tcp_init_metrics()
1234 tp->snd_cwnd = tp->frto_counter + tcp_packets_in_flight(tp)+1; in tcp_enter_frto_loss()
1281 tp->snd_cwnd = 1; in tcp_enter_loss()
[all …]
Dtcp_output.c106 u32 cwnd = tp->snd_cwnd; in tcp_cwnd_restart()
116 tp->snd_cwnd = max(cwnd, restart_cwnd); in tcp_cwnd_restart()
945 if (tcp_packets_in_flight(tp) >= tp->snd_cwnd) in tcp_xmit_retransmit_queue()
993 if (tcp_packets_in_flight(tp) >= tp->snd_cwnd) in tcp_xmit_retransmit_queue()
Dtcp_diag.c189 info->tcpi_snd_cwnd = tp->snd_cwnd; in tcpdiag_fill()
Dtcp_minisocks.c717 newtp->snd_cwnd = 2; in tcp_create_openreq_child()
Dtcp.c2131 tp->snd_cwnd = 2; in tcp_disconnect()
2514 info.tcpi_snd_cwnd = tp->snd_cwnd; in tcp_getsockopt()
Dtcp_ipv4.c2023 tp->snd_cwnd = 2; in tcp_v4_init_sock()
2139 tp->snd_cwnd, tp->snd_ssthresh>=0xFFFF?-1:tp->snd_ssthresh in get_tcp_sock()
/linux-2.4.37.9/include/net/
Dtcp.h1134 tp->snd_cwnd < tp->bictcp.last_max_cwnd) in tcp_recalc_ssthresh()
1135 tp->bictcp.last_max_cwnd = (tp->snd_cwnd * in tcp_recalc_ssthresh()
1140 tp->bictcp.last_max_cwnd = tp->snd_cwnd; in tcp_recalc_ssthresh()
1142 if (tp->snd_cwnd > sysctl_tcp_bic_low_window) in tcp_recalc_ssthresh()
1143 return max((tp->snd_cwnd * sysctl_tcp_bic_beta) in tcp_recalc_ssthresh()
1147 return max(tp->snd_cwnd >> 1U, 2U); in tcp_recalc_ssthresh()
1208 ((tp->snd_cwnd >> 1) + in tcp_current_ssthresh()
1209 (tp->snd_cwnd >> 2))); in tcp_current_ssthresh()
1225 if (tp->packets_out >= tp->snd_cwnd) { in tcp_cwnd_validate()
1244 tp->snd_cwnd = min(tp->snd_cwnd, in __tcp_enter_cwr()
[all …]
Dsock.h342 __u32 snd_cwnd; /* Sending congestion window */ member
/linux-2.4.37.9/net/ipv6/
Dtcp_ipv6.c1840 tp->snd_cwnd = 2; in tcp_v6_init_sock()
1969 tp->snd_cwnd, tp->snd_ssthresh>=0xFFFF?-1:tp->snd_ssthresh in get_tcp6_sock()