batadv_neigh_ifinfo_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to the Kernel API Manual page for batadv_neigh_ifinfo_get(9) β€” it's giving kernel-internals main character energy, and we're gonna read it together ✨

🌸 NAME 🌸

batadv_neigh_ifinfo_get β€” literally finds the ifinfo from a neigh_node. that's the whole name, no cap πŸŽ€

✨ SYNOPSIS ✨

struct batadv_neigh_ifinfo * batadv_neigh_ifinfo_get (struct
batadv_neigh_node *neigh , struct batadv_hard_iface *if_outgoing );

πŸ’… ARGUMENTS πŸ’…

okay so there are two arguments, and yes they both matter:

  • neigh β€” the neigh node you're querying, bestie πŸ’–
  • if_outgoing β€” the interface for which the ifinfo should be acquired ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

the object comes back with its refcounter increased by 1. that's the key detail β€” refcounter +1, periodt πŸ’…

not me reminding you again: refcounter increased by 1, bestie 🫢

🌈 RETURN 🌈

you get the requested neigh_ifinfo, or NULL if it's not found. iconic either way πŸ˜­πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/batman-adv/originator.c β€” and here's the whole see-also squad, no skips:


okay bye bestie πŸ’– this page is from the Kernel API Manual, source/version ./net/batman-adv, dated October 2026 β€” slay and stay safe out there βœ¨πŸ’…

πŸ“¦ where this page comes from