Home
last modified time | relevance | path

Searched refs:sendwin (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netinet/
H A Dtcp_output.c199 uint32_t recwin, sendwin; in tcp_output() local
286 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in tcp_output()
360 if (sendwin == 0) { in tcp_output()
379 sendwin = 1; in tcp_output()
403 len = ((int32_t)min(sbavail(&so->so_snd), sendwin) - in tcp_output()
498 if ((sendwin == 0) && (TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_output()
511 tcp_sndbuf_autoscale(tp, so, sendwin); in tcp_output()
1541 ulmin(sbavail(&so->so_snd) - off, sendwin); in tcp_output()
2076 tcp_sndbuf_autoscale(struct tcpcb *tp, struct socket *so, uint32_t sendwin) in tcp_sndbuf_autoscale() argument
2124 sendwin >= (sbused(&so->so_snd) - in tcp_sndbuf_autoscale()
/f-stack/freebsd/netinet/tcp_stacks/
H A Dbbr.c11775 bbr_what_can_we_send(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t sendwin, in bbr_what_can_we_send() argument
11787 if (flight >= sendwin) { in bbr_what_can_we_send()
11795 len = sendwin - flight; in bbr_what_can_we_send()
11960 uint32_t recwin, sendwin; in bbr_output_wtime() local
12184 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in bbr_output_wtime()
12253 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in bbr_output_wtime()
12469 what_we_can = len = bbr_what_can_we_send(tp, bbr, sendwin, avail, sb_offset, cts); in bbr_output_wtime()
12669 tcp_sndbuf_autoscale(tp, so, sendwin); in bbr_output_wtime()
14060 min(sbavail(&so->so_snd) - sb_offset, sendwin); in bbr_output_wtime()
H A Drack.c11840 uint32_t sendwin; in rack_what_can_we_send() local
11843 sendwin = cwnd_to_use; in rack_what_can_we_send()
11845 sendwin = tp->snd_wnd; in rack_what_can_we_send()
11853 if (flight >= sendwin) { in rack_what_can_we_send()
11861 len = sendwin - flight; in rack_what_can_we_send()