batadv_bla_u...orig_address(9)
π batadv_bla_update_orig_address β NAME π
okay bestie so this is a page from the Kernel API Manual, and the function we're stanning today is batadv_bla_update_orig_address, which updates the backbone gateways when the own originator address changes β¨
that's it, that's the whole vibe. your own orig address shifted, so the backbone gateways need to hear about it. very main character of them.
πΈ SYNOPSIS πΈ
void batadv_bla_update_orig_address (struct batadv_priv *bat_priv ,
struct batadv_hard_iface *primary_if , struct batadv_hard_iface *oldif
);
it returns void btw. gives nothing back, takes everything. iconique. π
π¦ ARGUMENTS π¦
three of them, all slay, all necessary:
bat_privβ thebat_privwith all the mesh interface info packed in it. it's the big bag of mesh-interface goodies πprimary_ifβ the new primary interface that just got selected. the fresh one. the upgrade. πoldifβ the old primary interface. and listen, it may beNULL, so don't come for it, it's valid π«Ά
β SEE ALSO β
the kernel file lives at ./net/batman-adv/bridge_loop_avoidance.c β that's where all the magic happens, no cap π§
and here's the full friend group, everyone linked, nobody left out (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_process_claim(9)batadv_bla_purge_backbone_gw(9)batadv_bla_purge_claims(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)
lowkey a whole reunion episode in here. 49 cross-references and every single one of them showed up. periodt. π₯
and that's the tea, bestie π this came out of ./net/batman-adv and it's dated October 2026, so yes, it's from the future, we don't ask questions. go touch some struct batadv_priv and stay gorgeous πππ
π¦ 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