xs_setup_local(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xs_setup_local β€” like, the AF_LOCAL setup era

okay so bestie, we're deep in the sunrpc kernel API manual rn β€” this is the xs_setup_local(9) page, part of the Kernel API Manual, and it's honestly short but iconic. Let me walk you through it 🫢


✨ NAME ✨

xs_setup_local β€” set up transport to use an AF_LOCAL socket 🌸

it's giving "make the socket local", no cap.


✨ SYNOPSIS ✨

struct rpc_xprt * xs_setup_local (struct xprt_create *args );

like, that's the whole signature. she's a pointer-returning function, periodt πŸ’…


✨ ARGUMENTS ✨

  • args β€” the rpc transport creation arguments πŸŽ€ literally the stuff you hand over so the transport knows how to be born.

✨ DESCRIPTION ✨

so AF_LOCAL is a "tpi_cots_ord" transport β€” and the way that it's just like TCP?? yeah. that's the whole vibe. lowkey identical energy, different address family ✨πŸ”₯


✨ SEE ALSO ✨

okay the friend group here is LARGE, so buckle up πŸ¦‹ β€” these all live in the kernel file ./net/sunrpc/xprtsock.c:

all of them. every single one. I would never do my besties dirty by skipping a single reference πŸ’–


ngl this page is short but she ate. go read xs_local_setup_socket(9) next if you're nosy πŸ‘€

and that's a wrap, bestie πŸŽ€ this came out of ./net/sunrpc, dated October 2026, sitting all cute under the xs_setup_local(9) title β€” mwah, slay, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from