batadv_neig...et_or_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is the Kernel API Manual page for batadv_neigh_node_get_or_create(9) β€” yes, the header gets a little dramatic and truncates it as batadv_neig...et_or_create(9), but we’re using the full name here πŸ’…. the function is literally batadv_neigh_node_get_or_create, and it does the thing: retrieve or create a neigh node object. periodt πŸ’–


✨ SYNOPSIS ✨

the signature, served fresh:

struct batadv_neigh_node * batadv_neigh_node_get_or_create (struct
batadv_orig_node *orig_node , struct batadv_hard_iface *hard_iface ,
const u8 *neigh_addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • orig_node β€” originator object representing the neighbour.
  • hard_iface β€” the interface where the neighbour is connected to.
  • neigh_addr β€” the mac address of the neighbour interface.

πŸ’– RETURN πŸ’–

the return tea is literally: the neighbour node if found or created or NULL otherwise. no cap 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file and the whole function friend group, bestie:


okay that’s the whole page, bestie. source/version: ./net/batman-adv; date: October 2026. go be iconic with your neigh nodes πŸ’…βœ¨

πŸ“¦ where this page comes from