batadv_iv_ogm_orig_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_iv_ogm_orig_update πŸ’–

okay bestie, welcome to the batadv_iv_ogm_orig_update(9) page β€” it lives in the Kernel API Manual and it's literally all about what happens when you use an OGM to update the corresponding data in an originator. yep. that's the whole vibe. πŸ¦‹


✨ NAME ✨

batadv_iv_ogm_orig_update β€” use OGM to update corresponding data in an originator


🌸 SYNOPSIS 🌸

void batadv_iv_ogm_orig_update (struct batadv_priv *bat_priv , struct
batadv_orig_node *orig_node , struct batadv_orig_ifinfo *orig_ifinfo ,
const struct ethhdr *ethhdr , const struct batadv_ogm_packet
*batadv_ogm_packet , struct batadv_hard_iface *if_incoming , struct
batadv_hard_iface *if_outgoing , enum batadv_dup_status dup_status );

no cap, that's a lot of parameters. it's giving "my function takes eight arguments and knows what each one does" energy πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. like, every single mesh interface deet lives in here πŸ’…
  • orig_node β€” the orig node who originally emitted the ogm packet. the main character of this whole situation, fr.
  • orig_ifinfo β€” ifinfo for the outgoing interface of the orig_node. yes, specifically the outgoing one 🫢
  • ethhdr β€” Ethernet header of the OGM. the classic packet accessory, we love her.
  • batadv_ogm_packet β€” the ogm packet itself. the moment. the icon. ⭐
  • if_incoming β€” interface where the packet was received. the "where did you come from" one 🌈
  • if_outgoing β€” interface for which the retransmission should be considered. lowkey different from the incoming one, don't mix them up 🧚
  • dup_status β€” the duplicate status of this ogm packet. and that's with a whole period at the end, because the original said so πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

okay so this page is generous with the cross-references, and we are NOT skipping a single one. drill down into the kernel file ./net/batman-adv/bat_iv_ogm.c and honestly just read everything, bestie:


πŸ’œ that's genuinely the whole page, bestie β€” no hidden sections, no secret extra flags. what you see is what you get. iykyk.

okay and before you go β€” this whole thing lives under ./net/batman-adv, dated October 2026, in the Kernel API Manual. mwah, go read some bat_iv_ogm.c πŸ“πŸ’…

πŸ“¦ where this page comes from