llc_conn_ac_dec_tx_win_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ngl
  • skb β€” 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:

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