Lines Matching refs:snd_wnd
304 if ((!V_tcp_do_newcwv && (tp->snd_cwnd <= tp->snd_wnd)) || in cc_ack_received()
305 (V_tcp_do_newcwv && (tp->snd_cwnd <= tp->snd_wnd) && in cc_ack_received()
314 ((int32_t)tp->snd_cwnd) - tp->snd_wnd); in cc_ack_received()
1663 tp->snd_wnd = th->th_win; in tcp_do_segment()
1762 tiwin && tiwin == tp->snd_wnd && in tcp_do_segment()
2419 tp->snd_wnd = tiwin; in tcp_do_segment()
2495 tp->snd_wnd = tiwin; in tcp_do_segment()
2583 (tiwin == tp->snd_wnd || in tcp_do_segment()
3034 if (tp->snd_wnd >= sbavail(&so->so_snd)) in tcp_do_segment()
3035 tp->snd_wnd -= sbavail(&so->so_snd); in tcp_do_segment()
3037 tp->snd_wnd = 0; in tcp_do_segment()
3043 if (tp->snd_wnd >= (uint32_t) acked) in tcp_do_segment()
3044 tp->snd_wnd -= acked; in tcp_do_segment()
3046 tp->snd_wnd = 0; in tcp_do_segment()
3134 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_do_segment()
3137 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) in tcp_do_segment()
3139 tp->snd_wnd = tiwin; in tcp_do_segment()
3142 if (tp->snd_wnd > tp->max_sndwnd) in tcp_do_segment()
3143 tp->max_sndwnd = tp->snd_wnd; in tcp_do_segment()