batadv_inc_counter(9)
π batadv_inc_counter(9)
okay bestie, this is the Kernel API Manual page for batadv_inc_counter β¨ it's giving "tiny function, very important counter energy": it increases the per cpu statistics counter of a mesh interface. no cap, that's the whole thing π
π NAME
batadv_inc_counter - Increase per cpu statistics counter of mesh interface
β¨ SYNOPSIS
batadv_inc_counter (b , i );
π¦ ARGUMENTS
okay so hereβs the tea on the two things you pass in:
bβ the bat priv with all the mesh interface informationiβ counter index which should be modified
π₯ SEE ALSO
the whole related-reference friend group, no cap:
- Kernel file
./net/batman-adv/main.h BATADV_TP_MAX_NUM(9)enum batadv_mesh_state(9)enum batadv_uev_action(9)enum batadv_uev_type(9)batadv_print_vid(9)batadv_compare_eth(9)batadv_has_timed_out(9)batadv_atomic_dec_not_zero(9)batadv_smallest_signed_int(9)batadv_seq_before(9)batadv_seq_after(9)batadv_add_counter(9)BATADV_SKB_CB(9)
xoxo bestie π β source/version ./net/batman-adv, dated October 2026, for batadv_inc_counter(9). slay π
π¦ 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