retransmits_timed_out(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 to 0, the default timeout is calculated and used, using TCP_RTO_MIN and 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 πŸ”₯


πŸ’– brought to you by source/version ./net/ipv4, dated October 2026 β€” mwah, bestie 🫢

πŸ“¦ where this page comes from