batadv_orig_router_get(9)
π 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:
batadv_orig_hash_find(9)batadv_compare_orig(9)batadv_orig_node_vlan_get(9)batadv_vlan_id_valid(9)batadv_orig_node_vlan_new(9)batadv_orig_node_vlan_release(9)batadv_originator_init(9)batadv_neigh_ifinfo_release(9)batadv_hardif_neigh_release(9)batadv_neigh_node_release(9)batadv_orig_to_router(9)batadv_orig_ifinfo_get(9)batadv_orig_ifinfo_new(9)batadv_neigh_ifinfo_get(9)batadv_neigh_ifinfo_new(9)batadv_neigh_node_get(9)batadv_hardif_neigh_create(9)batadv_hardif_neigh_get_or_create(9)batadv_hardif_neigh_get(9)batadv_neigh_node_create(9)batadv_neigh_node_get_or_create(9)batadv_hardif_neigh_dump(9)batadv_orig_ifinfo_release(9)batadv_orig_node_free_rcu(9)batadv_orig_node_release(9)batadv_originator_free(9)batadv_orig_node_new(9)batadv_purge_neigh_ifinfo(9)batadv_purge_orig_ifinfo(9)batadv_purge_orig_neighbors(9)batadv_find_best_neighbor(9)batadv_purge_orig_node(9)batadv_purge_orig_ref(9)batadv_purge_orig(9)batadv_orig_dump(9)
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
- 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