batadv_update_route(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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