batadv_update_route(9)
π batadv_update_route(9) β the Kernel API Manual glow-up
okay so bestie, welcome to the batadv_update_route(9) page π this is one of those little kernel API manual pages (yes, the Kernel API Manual ones, the ones that live in the docs folder and never get enough love) and honestly? she's a whole vibe. let's get into it π
β¨ NAME β¨
batadv_update_route β literally just: set the router for this originator π°οΈ no cap, that's the entire job description.
πΈ SYNOPSIS πΈ
void batadv_update_route (struct batadv_priv *bat_priv , struct
batadv_orig_node *orig_node , struct batadv_hard_iface *recv_if , struct
batadv_neigh_node *neigh_node );
returns void, takes four pointers, zero drama π
(well. mostly. keep reading.)
π¦ ARGUMENTS π¦
four args, all iconic, all necessary, let's meet them π«Ά
bat_privβ the bat priv with all the mesh interface information. she's the main character who holds everything together, all the mesh interface info lives in her πorig_nodeβ orig node which is to be configured. this is the one getting her route situation sorted out β¨recv_ifβ the receive interface for which this route is set. ikyky, the route is scoped to this specific receive interface, not just vibes πneigh_nodeβ neighbor which should be the next router. she's the one being handed the aux cord. the next hop. the chosen one π
π SEE ALSO π
not me about to list every single one of these because we do NOT skip references on this page, that's not the energy π«Ά everything below is from the Kernel file ./net/batman-adv/routing.c, bestie:
_batadv_update_route(9)batadv_window_protected(9)batadv_check_management_packet(9)batadv_skb_decrement_ttl(9)batadv_recv_my_icmp_packet(9)batadv_recv_icmp_ttl_exceeded(9)batadv_recv_icmp_packet(9)batadv_check_unicast_packet(9)batadv_last_bonding_get(9)batadv_last_bonding_replace(9)batadv_find_router(9)batadv_route_unicast_packet(9)batadv_reroute_unicast_packet(9)batadv_check_unicast_ttvn(9)batadv_recv_unhandled_unicast_packet(9)batadv_recv_unicast_packet(9)batadv_recv_unicast_tvlv(9)batadv_recv_frag_packet(9)batadv_recv_bcast_packet(9)batadv_recv_mcast_packet(9)
that's twenty (20) whole other manual pages, go read them, they're lowkey obsessed with you back ππ
fr fr though β that leading underscore in _batadv_update_route(9) is not a typo, that's a different page from this one. don't come for me π
π sign-off π
and that's the page!! this one ships out of ./net/batman-adv (the source tree, you know the one), stamped October 2026, title batadv_update_route(9) β mwah π go route something, bestie, you're gonna slay β¨ππ
π¦ 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