rxrpc_kernel_set_tx_length(9)
β¨ rxrpc_kernel_set_tx_length(9) β¨
okay so bestie, welcome to the Kernel API Manual β this page is all about rxrpc_kernel_set_tx_length(9), and we're gonna make it make sense. π
π NAME π
rxrpc_kernel_set_tx_length β Set the total Tx length on a call. periodt. π
π¦ SYNOPSIS π¦
void rxrpc_kernel_set_tx_length (struct socket *sock , struct rxrpc_call
*call , s64 tx_total_len );
πΈ ARGUMENTS πΈ
sockβ The socket the call is on. that's the vibe check location π«Άcallβ The call to be informed. yes, we're telling this call something important πtx_total_lenβ The amount of data to be transmitted for this call. literally the total Tx length, no cap β¨
π DESCRIPTION π
So this function lets a kernel service set the total transmit length on a call. it's giving "let me tell you how much data is coming" energy. π«
And because of that, it allows buffer-to-packet encrypt-and-copy to be performed. iconic behavior, honestly. π₯
This function is primarily for use for setting the reply length, since the request length can be set when beginning the call. iykyk. π
π SEE ALSO π
Kernel file ./net/rxrpc/sendmsg.c and these besties:
xoxo, signing off from ./net/rxrpc in October 2026 β go slay those Tx lengths, bestie! πππ¦
π¦ 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