KFunc tcp_slow_start
Slow start is used when congestion window is no greater than the slow start threshold.
Definition
Slow start is used when congestion window is no greater than the slow start threshold. We base on RFC2581 and also handle stretch ACKs properly. We do not implement RFC3465 Appropriate Byte Counting (ABC) per se but something better;) a packet is only considered (s)acked in its entirety to defend the ACK attacks described in the RFC. Slow start processes a stretch ACK of degree N as if N acks of degree 1 are received back to back except ABC caps N to 2. Slow start exits when cwnd grows over ssthresh and returns the leftover acks to adjust cwnd in congestion avoidance mode.
u32 tcp_slow_start(struct tcp_sock *tp, 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