svc_xprt_create_from_sa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to the svc_xprt_create_from_sa(9) page from the Kernel API Manual β€” this one is literally about adding a new listener to @serv from a socket address. πŸ’–

svc_xprt_create_from_sa β€” Add a new listener to @serv from socket address


✨ SYNOPSIS ✨

int svc_xprt_create_from_sa (struct svc_serv *serv , const char
       *xprt_name , struct net *net , struct sockaddr *sap , int flags , const
       struct cred *cred );

That's the exact signature, no cap β€” character for character, bestie. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • serv β€” target RPC service
  • xprt_name β€” transport class name
  • net β€” network namespace
  • sap β€” socket address pointer
  • flags β€” SVC_SOCK flags
  • cred β€” credential to bind to this transport

πŸ¦‹ DESCRIPTION πŸ¦‹

Return local xprt port on success or -EPROTONOSUPPORT on failure. That's the whole plot, bestie β€” iconic and concise. ✨


πŸ’… SEE ALSO πŸ’…

Kernel file ./net/sunrpc/svc_xprt.c β€” that's where this lives, and the whole squad is here: 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(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). Go say hi, they're all linked and ready. πŸ‘‹πŸ”₯


This cutie comes from ./net/sunrpc, dated October 2026, and signs off as svc_xprt_create_from_sa(9) β€” bye bestie, slay your kernel journey! πŸ’…πŸŽ€

πŸ“¦ where this page comes from