svc_xprt_create(9)
π
svc_xprt_create(9) β Kernel API Manual, bestie edition β¨
π NAME π
svc_xprt_create β Add a new listener to @serv π
β¨ SYNOPSIS β¨
okay so the signature is giving main character energy, no cap, and it is literally this:
int svc_xprt_create (struct svc_serv *serv , const char *xprt_name ,
struct net *net , const int family , const unsigned short port , int
flags , const struct cred *cred );
πΈ ARGUMENTS πΈ
Here's the vibe check on every single parameter β no skips, bestie, ngl:
servβ target RPC service πxprt_nameβ transport class namenetβ network namespacefamilyβ network address familyportβ listener portflagsβSVC_SOCKflagscredβ credential to bind to this transport
π¦ DESCRIPTION π¦
Okay so lowkey the whole plot is this: it returns the local xprt port on success, or -EPROTONOSUPPORT on failure. Periodt. The way that this is the entire description? Iconic β.
π SEE ALSO π
Kernel file ./net/sunrpc/svc_xprt.c is the home base, iykyk. And here are all the related functions β every single one, because we don't gatekeep, fr fr:
svc_reg_xprt_class(9)svc_unreg_xprt_class(9)svc_print_xprts(9)svc_xprt_deferred_close(9)svc_xprt_received(9)svc_xprt_create_from_sa(9)svc_print_addr(9)svc_xprt_enqueue(9)svc_reserve(9)svc_wake_up(9)svc_recv(9)svc_send(9)svc_xprt_close(9)svc_xprt_destroy_all(9)svc_find_listener(9)svc_find_xprt(9)svc_xprt_names(9)
Signed, sealed, slayed: source/version ./net/sunrpc, date October 2026 ππ
π¦ 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