batadv_dat_init_own_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_dat_init_own_addr β€” assign a DAT address to the node itself πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for batadv_dat_init_own_addr(9) β€” yes that's the whole vibe, a kernel function manual page, and honestly? it's giving "small but crucial" and we're obsessed πŸŽ€


✨ NAME ✨

batadv_dat_init_own_addr β€” assign a DAT address to the node itself 🫢

like literally, this is the function that hands the node its very own DAT address. main character energy fr fr πŸ‘‘


🌸 SYNOPSIS 🌸

void batadv_dat_init_own_addr (struct batadv_priv *bat_priv , struct
batadv_hard_iface *primary_if );

no cap, that's the whole signature β€” it returns void, so nothing comes back out, it just does the thing πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bat_priv β€” the bat priv with all the mesh interface information ✨ like, this is the big bag of everything the mesh needs to know about itself.
  • primary_if β€” a pointer to the primary interface πŸ’– the interface in question, pointed at directly.

🌈 SEE ALSO 🌈


bestie reminder: this is kernel API territory, so keep those types exact β€” struct batadv_priv * and struct batadv_hard_iface * are literally not interchangeable with anything else πŸ’€

and that's the tea πŸ“ this little page comes from ./net/batman-adv and it's dated October 2026 β€” so yeah, future-dated kernel lore, iconic, periodt πŸ’œπŸŽ€

πŸ“¦ where this page comes from