Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/netinet/
H A Dtcp_rack.c356 tcp_rack_adjust(struct tcpcb *tp, uint32_t cwin) in tcp_rack_adjust() argument
367 if (max_len >= cwin) { in tcp_rack_adjust()
387 tcp_rack_output(struct tcpcb *tp, uint32_t cwin, uint16_t *rack_seg_len) in tcp_rack_output() argument
397 uint16_t allowed_size = (uint16_t)min(cwin, tp->t_maxseg); in tcp_rack_output()
H A Dtcp_output.c1224 int32_t cwin = tp->snd_cwnd - tcp_flight_size(tp); in tcp_output() local
1225 if (cwin > 0) { in tcp_output()
1226 max_len = tcp_rack_adjust(tp, (uint32_t)cwin); in tcp_output()
1259 int32_t cwin = min(tp->snd_wnd, tp->snd_cwnd) - tcp_flight_size(tp); in tcp_output() local
1260 if (cwin <= 0 && sack_rxmted == false) { in tcp_output()
1262 cwin = tp->t_maxseg; in tcp_output()
1266 if (cwin < 0) { in tcp_output()
1267 cwin = 0; in tcp_output()
1272 if ((seg = tcp_rack_output(tp, cwin, &rack_seg_len)) != NULL) { in tcp_output()
1273 len = min(cwin, rack_seg_len); in tcp_output()
[all …]
H A Dtcp_var.h1911 struct tcp_seg_sent * tcp_rack_output(struct tcpcb *tp, uint32_t cwin, uint16_t *rack_seg_len);
1913 uint32_t tcp_rack_adjust(struct tcpcb *tp, uint32_t cwin);