Lines Matching full:acked
451 * something better;) a packet is only considered (s)acked in its entirety to
457 __bpf_kfunc u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start() argument
459 u32 cwnd = min(tcp_snd_cwnd(tp) + acked, tp->snd_ssthresh); in tcp_slow_start()
461 acked -= cwnd - tcp_snd_cwnd(tp); in tcp_slow_start()
464 return acked; in tcp_slow_start()
469 * for every packet that was ACKed.
471 __bpf_kfunc void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai() argument
479 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
497 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid() argument
506 acked = tcp_slow_start(tp, acked); in tcp_reno_cong_avoid()
507 if (!acked) in tcp_reno_cong_avoid()
511 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked); in tcp_reno_cong_avoid()