xprt_reconnect_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xprt_reconnect_delay ✨

okay so bestie, we're in the Kernel API Manual today and the whole vibe is networking, but make it patient. Like, sometimes your RPC transport needs a lil minute before it tries to connect again, and this function is the one that does the math on how long that lil minute is. No cap, it's giving "respectful pause energy" πŸ’…


🌸 NAME 🌸

xprt_reconnect_delay β€” compute the wait before scheduling a connect

literally it works out the delay, that's the whole gig, she's a calculator with a skincare routine ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned long xprt_reconnect_delay (const struct rpc_xprt *xprt );

she returns an unsigned long (that's the number of... wait, that's the delay value, bestie) and she takes exactly one thing. one singular thing. main character behavior honestly πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • xprt β€” the transport instance. that's it. that's the whole argument. const struct rpc_xprt *, so she's looking, not touching β€” very respectful of boundaries 🫢

πŸ’– SEE ALSO πŸ’–

okay this is the part where the manpage goes absolutely feral and lists literally everyone at the function party. they're all in the kernel file ./net/sunrpc/xprt.c and they all have (9) after their names because that's how kernel API pages roll, iykyk:

like. forty-six whole siblings. one big sunrpc family reunion and every single one of them showed up πŸ’€ but honestly? iconic. we stan a thorough cross-reference section 🌈


ngl bestie there's not a ton of plot here β€” this page is short and sweet: one function, one argument, one job. but she does her one job flawlessly and that's more than most of us can say πŸ˜­πŸ’œ

okay and before you close the tab β€” the fine print said this whole thing lives under ./net/sunrpc and it's dated October 2026, so like... mark your calendars, future bestie πŸ—“οΈβœ¨ bye ily, go read xprt.c πŸ§šβ€β™€οΈπŸŒΈ

πŸ“¦ where this page comes from