xs_destroy(9)
π xs_destroy(9) β bestie edition
okay so real talk, this is a page from the Kernel API Manual, section 9, and yeah it's technically called xs_destroy(9) but we're gonna get into it together, no stress π«Ά
β¨ NAME β¨
xs_destroy β the lil "prepare to shutdown a transport" moment. that's it. that's the whole vibe check. π
πΈ SYNOPSIS πΈ
void xs_destroy (struct rpc_xprt *xprt );
literally returns void, so likeβ¦ no receipts, no return value, she just does the thing and leaves π
π ARGUMENTS π
xprtβ the doomed transport. and yes bestie the manpage fr fr said doomed, like this is not a drill, this transport's main character arc is ending π this is the structrpc_xprtpointer you're sending off.
lowkey important: this whole page is about preparing to shut a transport down. it said "prepare to shutdown a transport" and i'm not gonna add lore that isn't there. that's the assignment. π
π¦ SEE ALSO π¦
okay this is the part where the page just. keeps going. and going. and i respect it honestly β she's thorough. all of these live in the kernel file ./net/sunrpc/xprtsock.c π
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_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_udp(9)xs_setup_tcp(9)xs_setup_tcp_tls(9)xs_setup_bc_tcp(9)init_socket_xprt(9)cleanup_socket_xprt(9)
like. thirty-four entries. she ate and left no crumbs π go read them if you want the full sunrpc socket cinematic universe, iykyk.
that's the whole page bestie, short and iconic π
sign-off time: this lil gem comes to you from ./net/sunrpc, dated October 2026, and it was living in the Kernel API Manual the whole time. mwah, go destroy that transport responsibly πβ¨π
π¦ 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