xs_udp_send_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xs_udp_send_request(9) ✨

okay bestie, so we're in the Kernel API Manual today and this one's about yeeting an RPC request into a UDP socket πŸŽ€


🌸 NAME 🌸

xs_udp_send_request β€” write an RPC request to a UDP socket ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int xs_udp_send_request (struct rpc_rqst *req );

πŸ’– ARGUMENTS πŸ’–

  • req β€” pointer to RPC request 🫢 (that's the thing you're sending, bestie, it's giving main character energy)

πŸ‘‘ DESCRIPTION πŸ‘‘

So like, here's the vibe check on what you get back β€” the return values are lowkey the whole plot πŸ’…

  • 0 β€” The request has been sent ✨ slay, it's out there living its life
  • EAGAIN β€” The socket was blocked, please call again later to complete the request 😭 not a fail fr fr, just a "hold on, come back in a sec"
  • ENOTCONN β€” Caller needs to invoke connect logic then call again 🧚 the connection isn't set up yet, so do that first and then re-run this
  • other β€” Some other error occurred, the request was not sent πŸ’€ nope, it didn't go out
not me stressing the EAGAIN one β€” it literally means "try again later", do NOT panic πŸ™ˆ

⭐ SEE ALSO ⭐

Kernel file ./net/sunrpc/xprtsock.c β€” and the whole friend group here:


that's the whole page bestie, no cap, nothing skipped πŸ’œ and before you go β€” this lil masterpiece lives in ./net/sunrpc, dated October 2026, with the graceful title xs_udp_send_request(9). iykyk πŸ“πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from