svc_tcp_sendto(9)
π svc_tcp_sendto(9) β send out a reply on a TCP socket
okay so welcome to the Kernel API Manual, bestie π. This page is literally about svc_tcp_sendto, and it's giving βput the reply on the TCP socketβ main character energy. no cap.
πΈ NAME
svc_tcp_sendto β Send out a reply on a TCP socket β¨
π¦ SYNOPSIS
int svc_tcp_sendto (struct svc_rqst *rqstp );
π ARGUMENTS
rqstpβ a completedsvc_rqstπ. Like, the reply is all finished and ready for its little socket moment.
π DESCRIPTION
xpt_mutex is the lock bestie that makes sure rqstp's whole message gets written to the socket without interruption π«Ά. The entire message, in one go, no chaotic cut-off vibes. slay.
It returns the number of bytes sent, or a negative errno π. So: byte count on one side, negative errno on the other β don't confuse the two, bestie. periodt.
π₯ SEE ALSO
- Kernel file
./net/sunrpc/svcsock.cπ svc_tcp_release_ctxt(9)svc_udp_release_ctxt(9)svc_tcp_handshake_done(9)svc_tcp_handshake(9)svc_udp_recvfrom(9)svc_udp_sendto(9)svc_tcp_recvfrom(9)svc_addsock(9)
and that's the vibe check β
β this page is from ./net/sunrpc and dated October 2026, so you know exactly where and when it's serving from. mwah ππ
π¦ 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