batadv_throw_uevent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_throw_uevent(9) β€” like, the whole vibe

okay so bestie, welcome to the Kernel API Manual page for batadv_throw_uevent(9) β€” yes that parenthetical 9 means kernel-space function, we love a section number, no cap 🫢


✨ NAME ✨

batadv_throw_uevent β€” send a uevent with batman-adv specific env data πŸ’Œ


🌸 SYNOPSIS 🌸

int batadv_throw_uevent (struct batadv_priv *bat_priv , enum
batadv_uev_type type , enum batadv_uev_action action , const char *data
);

literally that's the whole signature, keep it exactly like that πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bat_priv β€” the bat priv holding all the mesh interface information. main character struct energy fr fr πŸ‘‘
  • type β€” the subsystem type of event. it gets stored in the uevent's BATTYPE. iykyk πŸ’…
  • action β€” the action type of event. stored in the uevent's BATACTION. iconic ✨
  • data β€” a string with extra info for the event, stored in the uevent's BATDATA. but heads up: it's ignored for BATADV_UEV_DEL, so don't come for me when it does nothing there πŸ™ˆ

🧚 RETURN 🧚

0 on success, or a negative error number if it fails. that's it, that's the tea πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./net/batman-adv/main.c plus the whole friend group:


go read them all bestie, they're lowkey all connected, it's giving syllabus πŸ˜­πŸ“š

and that's a wrap! this page lives in ./net/batman-adv, dated October 2026, and it's batadv_throw_uevent(9) β€” slay, bye! πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from