batadv_bla_process_claim(9)
π¦ batadv_bla_process_claim(9) β the kernel API manual, but make it make sense
okay so bestie, this one's from the Kernel API Manual (section 9, kernel-space girlies only π
) and it's literally all about batadv_bla_process_claim β checking whether the frame you're holding is a claim frame and, if it is, processing it. iconic behavior honestly.
β¨ NAME β¨
batadv_bla_process_claim β check if this is a claim frame, and process it π
πΈ SYNOPSIS πΈ
bool batadv_bla_process_claim (struct batadv_priv *bat_priv , struct
batadv_hard_iface *primary_if , struct sk_buff *skb );
like, returns a bool, takes three things, no cap. π«Ά
π ARGUMENTS π
bat_privβ the bat priv holding all the mesh interface info. it's giving "the main character struct" πprimary_ifβ the primary hard interface of this batman mesh interface. yes, this one, the primary one π¦skbβ the frame that's getting checked. this is the one on trial, bestie π
β οΈ DESCRIPTION β οΈ
Warning: this function may reallocate theskbdata buffer viabatadv_get_vid/...
and like, that's the whole thing you need to know, because any pointer into the skb data β think anything you got from skb->data or eth_hdr before you called this β must be considered invalid afterwards. literally do not trust it. π you have to reacquire it. no stashing old pointers, that's not the vibe, that's a bug. β¨
π₯ RETURN π₯
trueβ slay, it was a claim frame πfalseβ nope, not a claim frame, and this is you telling the callee it can go ahead and use the frame on its own π«Ά
π SEE ALSO π
- Kernel file
./net/batman-adv/bridge_loop_avoidance.cβ the source, go read it iykyk π batadv_choose_claim(9)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_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)
that's a lot of cross-references and honestly? obsessed. go read them all, bestie, they're literally all in the BLA squad π§
mwah π this page lives in ./net/batman-adv and the version/date stamp on it is October 2026 β yes, the future, and no, we're not explaining that. it's giving time traveler energy π°οΈβ¨ periodt.
π¦ 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