batadv_find_router(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_find_router(9) πŸ’–

okay so bestie, we're in the Kernel API Manual and this page is batadv_find_router(9) β€” it's giving short, iconic, and very "find the right router bestie" energy. no cap, let's get into it πŸ’…βœ¨


🌸 NAME 🌸

batadv_find_router β€” find a suitable router for this originator


✨ SYNOPSIS ✨

       struct batadv_neigh_node * batadv_find_router (struct batadv_priv
       *bat_priv , struct batadv_orig_node *orig_node , struct
       batadv_hard_iface *recv_if );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information
  • orig_node β€” the destination node
  • recv_if β€” pointer to interface this packet was received on

πŸ’« RETURN πŸ’«

It returns the router which should be used for this orig_node on this interface, or NULL if not available.

That's the whole vibe: router or NULL, no in-between, periodt πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file ./net/batman-adv/routing.c is the scene, and these are the co-stars, fr fr:


footer vibes, bestie: source/version ./net/batman-adv, date October 2026, page batadv_find_router(9) β€” k bye, slay πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from