batadv_find_router(9)
π 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 informationorig_nodeβ the destination noderecv_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:
_batadv_update_route(9)batadv_update_route(9)batadv_window_protected(9)batadv_check_management_packet(9)batadv_skb_decrement_ttl(9)batadv_recv_my_icmp_packet(9)batadv_recv_icmp_ttl_exceeded(9)batadv_recv_icmp_packet(9)batadv_check_unicast_packet(9)batadv_last_bonding_get(9)batadv_last_bonding_replace(9)batadv_route_unicast_packet(9)batadv_reroute_unicast_packet(9)batadv_check_unicast_ttvn(9)batadv_recv_unhandled_unicast_packet(9)batadv_recv_unicast_packet(9)batadv_recv_unicast_tvlv(9)batadv_recv_frag_packet(9)batadv_recv_bcast_packet(9)batadv_recv_mcast_packet(9)
footer vibes, bestie: source/version ./net/batman-adv, date October 2026, page batadv_find_router(9) β k bye, slay π
π«Άβ¨
π¦ 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