batadv_neigh_node_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_neigh_node_get(9)

okay so this is a page from the Kernel API Manual β€” yes, that's the manual name, she's official πŸ’– β€” and it's literally all about grabbing one (1) neighbour out of a list. bestie, let's get into it.


✨ NAME ✨

batadv_neigh_node_get β€” retrieve a neighbour from the list 🫢


🌸 SYNOPSIS 🌸

struct batadv_neigh_node * batadv_neigh_node_get (const struct
batadv_orig_node *orig_node , const struct batadv_hard_iface *hard_iface
, const u8 *addr );

like, that's the whole vibe check right there πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • orig_node β€” the originator that this neighbour belongs to. it's giving "whose friend group are we even looking in" energy πŸ¦‹
  • hard_iface β€” the interface this neighbour is connected through. the actual physical situation, no cap πŸ’…
  • addr β€” the address of the neighbour. yes, that address, the one you're hunting for πŸ”₯

🧚 DESCRIPTION 🧚

so what it does: it goes looking β€” and possibly returns β€” a neighbour that belongs to this originator's list, the one connected through the hard interface you handed it. that's it, that's the plot. lowkey iconic for how focused it is 😭✨


πŸ‘‘ RETURN πŸ‘‘

returns the neighbor when found. otherwise NULL πŸ’€ (yes, "neighbor" with no u, that's how the original spells it, respect the spelling fr fr)


🌈 SEE ALSO 🌈

Kernel file ./net/batman-adv/originator.c β€” and then a whole friend-group of functions that are all mutuals with this one:

and that's the whole page, bestie, you ate that πŸ“βœ¨ this masterpiece lives in ./net/batman-adv, it's dated October 2026, and it's filed under batadv_neigh_node_get(9) β€” go forth and find your neighbours πŸ’œπŸ¦‹

πŸ“¦ where this page comes from