batadv_orig_router_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_orig_router_get πŸ’–

okay so this is the Kernel API Manual page for batadv_orig_router_get(9) β€” literally the β€œrouter to the originator depending on iface” function. no cap, it's giving networking main character energy, and we're gonna get through it together bestie 🫢

✨ NAME ✨

batadv_orig_router_get β€” router to the originator depending on iface.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct batadv_neigh_node * batadv_orig_router_get (struct
batadv_orig_node *orig_node , const struct batadv_hard_iface
*if_outgoing );

that's the signature exactly, line wraps and all β€” don't let it scare you πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • orig_node β€” the orig node for the router. that's the one we're asking about, periodt.
  • if_outgoing β€” the interface where the payload packet has been received or the OGM should be sent to. yes, that interface.

πŸ’… RETURN πŸ’…

the neighbor which should be the router for this orig_node/iface. that's the whole vibe check, bestie.

🌸 DESCRIPTION 🌸

the object is returned with refcounter increased by 1. heads up β€” that's the refcount tea β˜•: the object comes back with its refcounter bumped by exactly 1. no extra lore on this page, fr fr.

🌈 SEE ALSO 🌈

Kernel file: ./net/batman-adv/originator.c β€” here's the whole linked friend group, and yes, every single one made the list:


mwah πŸ’œ source/version: ./net/batman-adv β€’ date: October 2026 β€’ manual page: batadv_orig_router_get(9). bye bestie, go be iconic with those refcounters ✨

πŸ“¦ where this page comes from