batadv_dat_init_own_addr(9)
π 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 π
- Kernel file
./net/batman-adv/distributed-arp-table.hπ batadv_dat_init_orig_node_addr(9)π§batadv_dat_inc_counter(9)β
bestie reminder: this is kernel API territory, so keep those types exact βstruct batadv_priv *andstruct 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
- 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