retransmits_timed_out(9)
NAME π
okay so this is retransmits_timed_out(9) β folded fresh out of the Kernel API Manual β and it literally returns true if this connection has timed out. slay.
SYNOPSIS π
bool retransmits_timed_out (struct sock *sk , unsigned int boundary ,
unsigned int timeout );
ARGUMENTS π«Ά
skβ the current socket, aka the main character.boundaryβ max number of retransmissions; that's the limit, bestie.timeoutβ a custom timeout value. If set to0, the default timeout is calculated and used, usingTCP_RTO_MINand the number of unsuccessful retransmits.
DESCRIPTION πΈ
The default "timeout" value this function can calculate and use is equivalent to the timeout of a TCP Connection after "boundary" unsuccessful, exponentially backed-off retransmissions with an initial RTO of TCP_RTO_MIN. that's the whole vibe check, no cap π
SEE ALSO π₯
- Kernel file
./net/ipv4/tcp_timer.cβ yes, that file, bestie. tcp_write_err(9)tcp_out_of_resources(9)tcp_orphan_retries(9)tcp_delack_timer(9)tcp_retransmit_timer(9)
π brought to you by source/version ./net/ipv4, dated October 2026 β mwah, bestie π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms