llc_conn_ac_..._npta_by_rnr(9)
π 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 astruct 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
0for success π₯³ - returns
1otherwise π
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:
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_dec_tx_win_size(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, 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
- 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