Skip to content

KFunc tcp_cong_avoid_ai

v5.13

Definition

In theory this is tp->snd_cwnd += 1 / tp->snd_cwnd (or alternative w), for every packet that was ACK-ed.

void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome