xs_setup_udp(9)
πΈ xs_setup_udp β like, the whole entire vibe π
Okay bestie, so this is <pink>xs_setup_udp(9)</pink> from the Kernel API Manual, and it is exactly what it says on the tin: it sets up a transport to use a UDP socket. That's it, that's the whole plot π no cap.
β¨ NAME β¨
xs_setup_udp β set up transport to use a UDP socket π¦
π SYNOPSIS π
struct rpc_xprt * xs_setup_udp (struct xprt_create *args );
Like, look at her. She returns a struct rpc_xprt * and she takes exactly one thing. Main character energy honestly π.
π ARGUMENTS π
argsβ the rpc transport creation arguments π«Ά that's literally it, that's the whole parameter list, we love a low-maintenance queen.
π§ SEE ALSO π§
So the kernel file for this one lives at ./net/sunrpc/xprtsock.c, and if you want the full friend group, here's every single one of them, no skips, no cuts π:
xs_nospace(9)xs_local_send_request(9)xs_udp_send_request(9)xs_tcp_send_request(9)xs_error_report(9)xs_close(9)xs_destroy(9)xs_udp_data_read_skb(9)xs_data_ready(9)xs_local_state_change(9)xs_tcp_state_change(9)xs_udp_write_space(9)xs_tcp_write_space(9)xs_udp_set_buffer_size(9)xs_udp_timer(9)xs_set_port(9)xs_local_setup_socket(9)xs_enable_swap(9)xs_disable_swap(9)xs_tcp_shutdown(9)xs_tcp_setup_socket(9)xs_tls_handshake_done(9)xs_tcp_tls_setup_socket(9)xs_connect(9)xs_local_print_stats(9)xs_udp_print_stats(9)xs_tcp_print_stats(9)bc_send_request(9)xs_setup_local(9)xs_setup_tcp(9)xs_setup_tcp_tls(9)xs_setup_bc_tcp(9)init_socket_xprt(9)cleanup_socket_xprt(9)
ngl bestie, that's a lot of siblings, but every single one of them is iconic in her own way π
~~~ and that's the tea, babe ~~~ π
This lil page comes to you from ./net/sunrpc, dated October 2026 β mwah, love u, go read your kernel source πβ¨π¦
π¦ 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