bc_send_request(9)
π NAME π
okay so bestie, this is bc_send_request(9), straight from the Kernel API Manual β¨ and the name is literally the whole assignment: send a backchannel Call on a TCP socket π
no cap.
β¨ SYNOPSIS β¨
int bc_send_request (struct rpc_rqst *req );
π¦ ARGUMENTS π¦
reqβ therpc_rqstcontaining the Call message to be sent π«Ά
π DESCRIPTION π
here's the vibe: xpt_mutex is the little bodyguard making sure rqstp's whole message gets written to the socket without interruption πβ¨. like, the entire message, no chaotic cut-ins β periodt.
Return values, bestie:
0β the message was sent successfully πENOTCONNβ the message was not sent π
that's the whole return-value story:0means it went through,ENOTCONNmeans it did not π
π SEE ALSO π
Kernel file ./net/sunrpc/xprtsock.c, plus the whole function friend group π«Ά:
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)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)
and that's the whole page, bestie π«Ά source/version: ./net/sunrpc Β· date: October 2026 Β· title: bc_send_request(9) β¨π
π¦ 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