batadv_originator_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_originator_free β€” ngl this one's the cleanup era

okay so bestie, we're in the Kernel API Manual today and this little icon is batadv_originator_free(9) β€” the function that literally frees all the originator structures. no cap, that's the whole vibe. it's the "closing shift, turn the lights off" of the batman-adv originator world πŸŽ€


✨ SYNOPSIS ✨

void batadv_originator_free (struct batadv_priv *bat_priv );

it returns void, so like… it gives nothing back. and honestly? that's its main character energy πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bat_priv β€” the bat priv with all the mesh interface information πŸ’– this is the big bag of everything the mesh interface knows, and you're handing it over so the function can go absolutely feral cleaning up.

🌸 SEE ALSO 🌸

bestie there are so many siblings here, this is a whole family reunion. every single one of them, in order, no skipping πŸ‘‘

and the kernel file it lives in is ./net/batman-adv/originator.c β€” that's the address, go say hi 🫢


πŸ’€ lowkey reminder: "free all originator structures" means exactly what it says. this is the teardown function, so like, don't be calling it on a whim mid-mesh and then acting surprised. iykyk.

and that's the whole page, bestie! 🌈 this icon came from ./net/batman-adv in October 2026, and it's batadv_originator_free(9) β€” go forth and free responsibly πŸ’…πŸ’–

πŸ“¦ where this page comes from