Lines Matching refs:acked
448 * something better;) a packet is only considered (s)acked in its entirety to
454 __bpf_kfunc u32 tcp_slow_start(struct tcp_sock *tp, u32 acked)
456 u32 cwnd = min(tcp_snd_cwnd(tp) + acked, tp->snd_ssthresh);
458 acked -= cwnd - tcp_snd_cwnd(tp);
461 return acked;
468 __bpf_kfunc void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked)
476 tp->snd_cwnd_cnt += acked;
494 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked)
503 acked = tcp_slow_start(tp, acked);
504 if (!acked)
508 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked);