llc_conn_ac_dec_tx_win_size(9)
π llc_conn_ac_dec_tx_win_size(9) β the Kernel API Manual, bestie edition π
okay so real talk: this is a page from the Kernel API Manual, and it's about one tiny little function that does exactly one dramatic thing β it shrinks the tx window. that's the whole vibe. let's get into it β¨
πΈ NAME πΈ
llc_conn_ac_dec_tx_win_size β decreases tx window size π
that's it, that's the function, she's a one-job queen π
β¨ SYNOPSIS β¨
int llc_conn_ac_dec_tx_win_size (struct sock *sk , struct sk_buff *skb
);
yep, that's the whole signature, she takes two pointers and hands you back an int. iconic behavior, no notes π«Ά
π¦ ARGUMENTS π¦
skβ current connection structure π this is the connection we're messing with, the main character of the whole operation nglskbβ current event π this is the event that kicked things off, the little messenger that walked in like "hey soβ¦"
π₯ DESCRIPTION π₯
so here's the tea β β after receiving a REJ command or response, the transmit window size gets decreased by the number of PDUs which are outstanding yet π like, the window gets smaller by exactly how many PDUs are still out there vibing, un-acked.
and then she reports back: returns 0 for success, 1 otherwise π― literally the simplest little boolean-ish return and we love that for her.
ngl the "1 otherwise" is doing a lot of heavy lifting here β that's your not-success bucket, bestie, don't overthink it π
π SEE ALSO π
so if you wanna go down the rabbit hole (and you should), the kernel file to poke around in is ./net/llc/llc_c_ac.c πΈ and here's the whole friend group these functions run with:
llc_conn_ac_send_ack_if_needed(9)llc_conn_ac_rst_sendack_flag(9)llc_conn_ac_send_i_rsp_f_set_ackpf(9)llc_conn_ac_send_i_as_ack(9)llc_conn_ac_send_rr_rsp_f_set_ackpf(9)llc_conn_ac_inc_npta_value(9)llc_conn_ac_adjust_npta_by_rr(9)llc_conn_ac_adjust_npta_by_rnr(9)llc_conn_ac_inc_tx_win_size(9)llc_conn_disc(9)llc_conn_reset(9)llc_circular_between(9)llc_process_tmr_ev(9)
like, she's got a whole squad π«Ά and yes, llc_conn_ac_inc_tx_win_size(9) is literally her opposite-number twin β one grows the window, one shrinks it, balance restored βοΈβ¨
and that's the page, babe π this whole thing lives over in ./net/llc and it's dated October 2026 β manual page llc_conn_ac_dec_tx_win_size(9), signing off, 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