batadv_choose_claim(9)
π 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):
batadv_choose_backbone_gw(9)batadv_compare_backbone_gw(9)batadv_compare_claim(9)batadv_backbone_gw_release(9)batadv_backbone_gw_put(9)batadv_claim_release(9)batadv_claim_put(9)batadv_claim_hash_find(9)batadv_backbone_hash_find(9)batadv_bla_del_backbone_claims(9)batadv_bla_send_claim(9)batadv_bla_loopdetect_report(9)batadv_bla_get_backbone_gw(9)batadv_bla_update_own_backbone_gw(9)batadv_bla_answer_request(9)batadv_bla_send_request(9)batadv_bla_send_announce(9)batadv_bla_add_claim(9)batadv_bla_claim_get_backbone_gw(9)batadv_bla_del_claim(9)batadv_handle_announce(9)batadv_handle_request(9)batadv_handle_unclaim(9)batadv_handle_claim(9)batadv_check_claim_group(9)batadv_bla_process_claim(9)batadv_bla_purge_backbone_gw(9)batadv_bla_purge_claims(9)batadv_bla_update_orig_address(9)batadv_bla_send_loopdetect(9)batadv_bla_status_update(9)batadv_bla_periodic_work(9)batadv_bla_init(9)batadv_bla_check_duplist(9)batadv_bla_check_ucast_duplist(9)batadv_bla_check_bcast_duplist(9)batadv_bla_is_backbone_gw_orig(9)batadv_bla_is_backbone_gw(9)batadv_bla_free(9)batadv_bla_loopdetect_check(9)batadv_bla_rx(9)batadv_bla_tx(9)batadv_bla_claim_dump_entry(9)batadv_bla_claim_dump_bucket(9)batadv_bla_claim_dump(9)batadv_bla_backbone_dump_entry(9)batadv_bla_backbone_dump_bucket(9)batadv_bla_backbone_dump(9)batadv_bla_check_claim(9)
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
- 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