xs_setup_tcp(9)
π xs_setup_tcp(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the xs_setup_tcp(9) page β¨ this is the kernel API manual entry for setting up a transport to use a TCP socket, and honestly? it's giving "small but mighty" energy π
πΈ NAME πΈ
xs_setup_tcp β Set up transport to use a TCP socket π¦
like, that's the whole mission. set up the transport, make it use a TCP socket, slay π
β¨ SYNOPSIS β¨
struct rpc_xprt * xs_setup_tcp (struct xprt_create *args );
yup, that's the signature, no cap β it takes your args and hands you back a struct rpc_xprt * π«Ά literally the main character function of this page π
π ARGUMENTS π
argsβ rpc transport creation arguments π this is the little bundle of info the function needs to know how to build your transport, and you gotta pass it in. no args, no setup, iykyk π
π₯ SEE ALSO π₯
okay this list is LONG and it ate, so buckle up bestie π every single one of these lives 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_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_udp(9)xs_setup_tcp_tls(9)xs_setup_bc_tcp(9)init_socket_xprt(9)cleanup_socket_xprt(9)
like i said β iconic lineup, every single one accounted for π go read them if you're nosy (affectionate) π
and that's the page, bestie π§π this little baddie comes from ./net/sunrpc, dated October 2026 β so yeah, mark your calendar, it's the xs_setup_tcp(9) moment π periodt π
π¦ 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