batadv_v_ogm_route_update(9)
β¨ 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 π«Ά:
batadv_v_ogm_orig_get(9)batadv_v_ogm_start_queue_timer(9)batadv_v_ogm_start_timer(9)batadv_v_ogm_send_to_if(9)batadv_v_ogm_len(9)batadv_v_ogm_queue_left(9)batadv_v_ogm_aggr_list_free(9)batadv_v_ogm_aggr_send(9)batadv_v_ogm_queue_on_if(9)batadv_v_ogm_send_meshif(9)batadv_v_ogm_send(9)batadv_v_ogm_aggr_work(9)batadv_v_ogm_iface_enable(9)batadv_v_ogm_iface_disable(9)batadv_v_ogm_primary_iface_set(9)batadv_v_forward_penalty(9)batadv_v_ogm_forward(9)batadv_v_ogm_metric_update(9)batadv_v_ogm_process_per_outif(9)batadv_v_ogm_aggr_packet(9)batadv_v_ogm_process(9)batadv_v_ogm_packet_recv(9)batadv_v_ogm_init(9)batadv_v_ogm_free(9)
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
- 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