rpc_bind_new_program(9)
π rpc_bind_new_program(9) β like, the Kernel API Manual page, bestie
okay so you found it β this is rpc_bind_new_program(9) from the Kernel API Manual, and it's genuinely one of those little functions that does one thing and does it cute. let's get into it π
β¨ NAME β¨
rpc_bind_new_program β bind a new RPC program to an existing client. that's the whole job, and she does it flawlessly, no cap π
π¦ SYNOPSIS π¦
struct rpc_clnt * rpc_bind_new_program (struct rpc_clnt *old , const
struct rpc_program *program , u32 vers );
look at that signature. three args, one pointer back out. main character energy fr β¨
πΈ ARGUMENTS πΈ
oldβ the oldrpc_client. yes queen, you're building on something that already exists πprogramβ the rpc program to set. this is the new vibe you're installing πversβ the rpc program version, au32. don't forget her, she matters π«Ά
π DESCRIPTION π
so what does it do? it clones the rpc client and sets up a new RPC program. that's the whole thing. iconic, honestly π
it's mainly of use for enabling different RPC programs to share the same transport β like, they all pile into the same ride and nobody has to call a separate Uber, iykyk πβ¨
and the Sun NFSv2/v3 ACL protocol can do this. yes, literally that one. she's the example. slay π
ngl there's not a lot of drama in this page β it's a short one, and that's fine, we stan a concise icon π¦
π SEE ALSO π
buckle up bestie, this list is long and every single one of these is getting her moment π
Kernel file ./net/sunrpc/clnt.c, plus:
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_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_net_ns(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)
that's the whole squad. go read them. or don't, I'm not your mom β but like, they're right there π§
π sign-off π
and that's the page!! brought to you by the fine people over at ./net/sunrpc, dated October 2026, living inside the Kernel API Manual. love that for us πβ¨π
now go bind a new program to an existing client and be normal about it. mwah π
π¦ 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