Lines Matching defs:acked
452 * something better;) a packet is only considered (s)acked in its entirety to
458 __bpf_kfunc u32 tcp_slow_start(struct tcp_sock *tp, u32 acked)
460 u32 cwnd = min(tcp_snd_cwnd(tp) + acked, tp->snd_ssthresh);
462 acked -= cwnd - tcp_snd_cwnd(tp);
465 return acked;
472 __bpf_kfunc void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked)
480 tp->snd_cwnd_cnt += acked;
498 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked)
507 acked = tcp_slow_start(tp, acked);
508 if (!acked)
512 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked);