batadv_choose_claim(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_choose_claim(9) β€” like, the Kernel API Manual page you didn't know you needed πŸ’–

okay so bestie, picture this: it's a Kernel API Manual page (yes, that's the manual name, she's fancy), and it's all about one tiny little function that does one tiny little job. and honestly? she ate. πŸŽ€


✨ NAME ✨

batadv_choose_claim β€” literally just picks the right bucket for a claim. that's the whole gig. iconic behaviour, no notes. πŸ’…


🌸 SYNOPSIS 🌸

u32 batadv_choose_claim (const void *data , u32 size );

look at her go. two args, one u32 out. clean, minimal, main character energy. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” the data to hash. yeah, that's it, that's the whole vibe. 🫢
  • size β€” size of the hash table. she needs to know how big the bucket collection is before she starts picking, iykyk.

πŸ”₯ RETURN πŸ”₯

the hash index of the claim. one number. that's your answer. slay. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

before we get to the list β€” the kernel file lives at ./net/batman-adv/bridge_loop_avoidance.c, so that's where you go if you want the lore. πŸ“–

and now, the extended universe (ngl this is a long cast list, they brought everyone):

fr fr that's the whole friend group. go say hi. 🌈


bestie reminder: every single one of those is a real cross-reference from the original page, i did not make any of them up. copy them exactly if you're typing them out. πŸ’€

anyway, that's the page! source location is ./net/batman-adv, dated October 2026, and if you need to cite her properly it's batadv_choose_claim(9). mwah. πŸ’‹

πŸ“¦ where this page comes from