batadv_ring_buffer_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_ring_buffer_set(9) 🌸

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the manual name, and yes, it's giving "I read kernel source for fun" energy, which is iconic of you.


✨ NAME ✨

batadv_ring_buffer_set β€” update the ring buffer with the given value πŸŽ€

like, you hand it a ring buffer, an index, and a value, and it sets it. groundbreaking? no. necessary? absolutely. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_ring_buffer_set (u8 lq_recv[] , u8 *lq_index , u8 value );

that's the whole thing, no cap. it returns void, so don't go looking for a return value, there isn't one, periodt. πŸ’€


🌸 ARGUMENTS 🌸

  • lq_recv β€” pointer to the ring buffer, bestie. this is the buffer. the whole vibe. 🫢
  • lq_index β€” index to store the value at. yes it's a pointer, no we're not gonna question it. πŸ‘‘
  • value β€” value to store in the ring buffer. the payload! the main character! the whole reason we're here! ⭐

πŸ’œ SEE ALSO πŸ’œ

okay so this is the long part, and ngl it's a lot, but every single one of these is literally in the list so we're listing all of them, no skips, no skimming, iykyk ✨

Kernel file ./net/batman-adv/bat_iv_ogm.c and also these iconic little functions:

like, that's the whole batman-adv IV squad right there. ate. πŸ”₯


no warnings, no deprecations, no bugs to report on this one bestie β€” it's a tiny little setter and it knows it. 🧚

and that's the page!! brought to you by ./net/batman-adv, dated October 2026, serving batadv_ring_buffer_set(9) realness. bye bestie, go set some ring buffers πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from