rpc_xprt_switch_add_xprt(9)
rpc_xprt_switch_add_xprt(9) β Kernel API Manual π
β¨ NAME β¨
rpc_xprt_switch_add_xprt β add a new rpc_xprt to an rpc_xprt_switch. That's the whole vibe, bestie: one xprt joins one switch. π«Ά
π SYNOPSIS π
Literally this, no cap:
void rpc_xprt_switch_add_xprt (struct rpc_xprt_switch *xps , struct
rpc_xprt *xprt );
π ARGUMENTS π
xpsβ pointer tostruct rpc_xprt_switch. Yep, that's the switch in question. πxprtβ pointer tostruct rpc_xprt. The xprt that's about to be added. π«
π¦ DESCRIPTION π¦
Adds xprt to the end of the list of struct rpc_xprt in xps. Periodt. It's giving "append to the list," and that's iconic. β¨
π SEE ALSO π
Kernel file: ./net/sunrpc/xprtmultipath.c β yes, that's the spot. π₯
The whole friend group:
rpc_xprt_switch_remove_xprt(9)rpc_xprt_switch_get_main_xprt(9)xprt_switch_alloc(9)xprt_switch_get(9)xprt_switch_put(9)rpc_xprt_switch_set_roundrobin(9)xprt_iter_init(9)xprt_iter_init_listall(9)xprt_iter_xchg_switch(9)xprt_iter_destroy(9)xprt_iter_xprt(9)xprt_iter_get_next(9)
mwah π this lil page comes from ./net/sunrpc, dated October 2026. slay and goodbye π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms