Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/netinet/
H A Dtcp_rack.c352 tcp_rack_adjust(struct tcpcb *tp, uint32_t cwin) in tcp_rack_adjust() argument
363 if (max_len >= cwin) { in tcp_rack_adjust()
383 tcp_rack_output(struct tcpcb *tp, uint32_t cwin, uint16_t *rack_seg_len) in tcp_rack_output() argument
393 uint16_t allowed_size = (uint16_t)min(cwin, tp->t_maxseg); in tcp_rack_output()
H A Dtcp_output.c964 int32_t cwin = tp->snd_cwnd - tcp_flight_size(tp); in tcp_output() local
965 if (cwin > 0) { in tcp_output()
966 max_len = tcp_rack_adjust(tp, (uint32_t)cwin); in tcp_output()
999 int32_t cwin = min(tp->snd_wnd, tp->snd_cwnd) - tcp_flight_size(tp); in tcp_output() local
1000 if (cwin <= 0 && sack_rxmted == FALSE) { in tcp_output()
1002 cwin = tp->t_maxseg; in tcp_output()
1006 if (cwin < 0) { in tcp_output()
1007 cwin = 0; in tcp_output()
1012 if ((seg = tcp_rack_output(tp, cwin, &rack_seg_len)) != NULL) { in tcp_output()
1013 len = min(cwin, rack_seg_len); in tcp_output()
[all …]
H A Dtcp_var.h1847 struct tcp_seg_sent * tcp_rack_output(struct tcpcb *tp, uint32_t cwin, uint16_t *rack_seg_len);
1849 uint32_t tcp_rack_adjust(struct tcpcb *tp, uint32_t cwin);