svc_xprt_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 name
  • net β€” network namespace
  • family β€” network address family
  • port β€” listener port
  • flags β€” SVC_SOCK flags
  • cred β€” 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:

Signed, sealed, slayed: source/version ./net/sunrpc, date October 2026 πŸŽ€πŸ’–

πŸ“¦ where this page comes from