llc_conn_ac_..._npta_by_rnr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… llc_conn_ac_..._npta_by_rnr(9) πŸ’…

okay so bestie, welcome to section 9 of the Kernel API Manual β€” the one where we talk about llc_conn_ac_adjust_npta_by_rnr. yes the header up top is abbreviated with ... because apparently even kernel devs get tired of typing. it's giving "we shortened the filename but not the vibes" ✨


🌸 NAME 🌸

llc_conn_ac_adjust_npta_by_rnr β€” decreases npta by one. that's it. that's the whole job. one (1) unit of decrease. a little subtraction moment. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int llc_conn_ac_adjust_npta_by_rnr (struct sock *sk , struct sk_buff
*skb );

look at that signature, she's iconic, she takes exactly two arguments, and she returns an int. no cap. πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” the current connection structure. like, the connection we're currently in, the main character of this operation πŸ‘‘
  • skb β€” the current event. yes babe, the event itself is a struct sk_buff, that's just how this house rolls 🏠

✨ DESCRIPTION ✨

so here's the tea β˜• β€” after receiving dec_cntr times an RNR command, this action decreases npta by one. yep. it's a counter doing counter things.

and the return values? listen up:

  • returns 0 for success πŸ₯³
  • returns 1 otherwise πŸ™ˆ
ngl the "otherwise" is doing a LOT of heavy lifting there, but that's what the manpage says and we don't invent lore in this group chat. fr fr.

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./net/llc/llc_c_ac.c πŸ—‚οΈ and bestie there is an entire squad of friends here, so let's give them all their moment:

like, the whole friend group showed up to the function's birthday party πŸŽ‚ and honestly? obsessed. iykyk 🌈


and that's the page, bestie 🫢 β€” brought to you by ./net/llc, dated October 2026, and filed under llc_conn_ac_..._npta_by_rnr(9) because apparently we're still abbreviating. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from