rpc_clnt_add_xprt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rpc_clnt_add_xprt(9) β€” Kernel API Manual ✨

Okay bestie, welcome to the group chat for the kernel’s transport-adding era. This is the rpc_clnt_add_xprt(9) page, and yes it’s giving β€œadd a new transport to a rpc_clnt” main character energy. πŸŽ€

🌸 NAME 🌸

rpc_clnt_add_xprt β€” Add a new transport to a rpc_clnt πŸ’–

✨ SYNOPSIS ✨

int rpc_clnt_add_xprt (struct rpc_clnt *clnt , struct xprt_create
       *xprtargs , int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *,
       struct rpc_xprt *, void *) , void *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • clnt β€” pointer to struct rpc_clnt; this is the client bestie getting a new transport.
  • xprtargs β€” pointer to struct xprt_create; the transport creation info lives here.
  • setup β€” callback to test and/or set up the connection. Very β€œyou got this” energy.
  • data β€” pointer to setup function data; the little bag of stuff passed along to the setup callback.

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the vibe: it creates a new transport using the parameters set in args and adds it to clnt. πŸ’«

If ping is set, then test that connectivity succeeds before adding the new transport. No cap, that’s the flow.

πŸ’œ SEE ALSO πŸ’œ

This one lives in the kernel file ./net/sunrpc/clnt.c, and the whole SEE ALSO squad is:


xoxo, your kernel bestie πŸ’– β€” sourced from ./net/sunrpc, dated October 2026, and filed under rpc_clnt_add_xprt(9) 🫢✨

πŸ“¦ where this page comes from