batadv_v_ogm_route_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_v_ogm_route_update πŸ’…

okay so this is a Kernel API Manual page for batadv_v_ogm_route_update(9) β€” yes the whole function name is the title, we're doing this, and honestly? iconic. πŸŽ€


🌸 NAME 🌸

batadv_v_ogm_route_update β€” update routes based on OGM. that's it. that's the whole vibe. bestie it literally just refreshes your routes off an OGM and dips 😌


πŸ¦‹ SYNOPSIS πŸ¦‹

bool batadv_v_ogm_route_update (struct batadv_priv *bat_priv , const
struct ethhdr *ethhdr , const struct batadv_ogm2_packet *ogm2 , struct
batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_node ,
struct batadv_hard_iface *if_incoming , struct batadv_hard_iface
*if_outgoing );

so many parameters… she's high-maintenance but she delivers πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • bat_priv β€” the bat priv with all the mesh interface information. this is the main character, the whole context, the receipts.
  • ethhdr β€” the Ethernet header of the OGM2. the little envelope the packet came in βœ‰οΈ
  • ogm2 β€” OGM2 structure. the actual OGM2 goodness, freshly received.
  • orig_node β€” Originator structure for which the OGM has been received. like, whose OGM is this even? this one.
  • neigh_node β€” the neigh_node through which the OGM has been received. your neighbor bestie who handed it to you 🫢
  • if_incoming β€” the interface where this packet was received. where it walked in.
  • if_outgoing β€” the interface for which the packet should be considered. where it's thinking about walking out πŸšͺ

⭐ RETURN ⭐

true if the packet should be forwarded, false otherwise. that's the whole answer. slay, no cap. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/batman-adv/bat_v_ogm.c β€” and like, the entire extended friend group 🫢:

like, that's the whole group chat, go say hi πŸ’œ


ngl bestie, if you're touching this you're already in the mesh-networking trenches. read the SEE ALSO list, it will lowkey save you. 🌈

and that's the page!! mwah πŸ’‹ this little beauty lives in ./net/batman-adv and it's stamped October 2026 β€” so screenshot it, frame it, obsess over it, periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from