rpc_net_ns(9)
π rpc_net_ns(9) β Kernel API Manual β¨
okay so bestie, welcome to rpc_net_ns, straight out of the Kernel API Manual πΈ this one's a lil cutie, short and sweet, no cap.
π NAME π
rpc_net_ns β literally just: get the network namespace for this RPC client π
β¨ SYNOPSIS β¨
struct net * rpc_net_ns (struct rpc_clnt *clnt );
she's giving one-liner icon energy π returns a struct net *, takes a struct rpc_clnt *, that's the whole vibe check.
π¦ ARGUMENTS π¦
clntβ the RPC client you're querying π«Ά like, the thing you want the network namespace of. that's it. that's the whole argument list, main character energy fr fr.
π SEE ALSO π
the kernel file is ./net/sunrpc/clnt.c β that's where the lore lives π and here's the whole friend group, not me skipping a single one, we don't do that here:
rpc_create(9)rpc_clone_client(9)rpc_clone_client_set_auth(9)rpc_switch_client_transport(9)rpc_clnt_iterate_for_each_xprt(9)rpc_cancel_tasks(9)rpc_hold_client(9)rpc_release_client(9)rpc_bind_new_program(9)rpc_run_task(9)rpc_call_sync(9)rpc_call_async(9)rpc_run_bc_task(9)rpc_prepare_reply_pages(9)rpc_peeraddr(9)rpc_peeraddr2str(9)rpc_localaddr(9)rpc_max_payload(9)rpc_max_bc_payload(9)rpc_force_rebind(9)rpc_clnt_test_and_add_xprt(9)rpc_clnt_setup_test_and_add_xprt(9)rpc_clnt_add_xprt(9)
like genuinely go read rpc_create(9) first if you're new here, it sets the whole scene π
and that's the page, bestie, short king behavior π this lil gem ships from ./net/sunrpc, dated October 2026 πΈ slay, go get that namespace π§ββοΈπ
π¦ 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