batadv_algo_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_algo_register β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the Kernel API Manual entry for batadv_algo_register, and honestly? she's a little function with a big job. πŸ’…


πŸ’– NAME πŸ’–

batadv_algo_register β€” literally just registers the callbacks for a mesh algorithm. that's it. that's the whole vibe. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

int batadv_algo_register (struct batadv_algo_ops *bat_algo_ops );

🌸 ARGUMENTS 🌸

  • bat_algo_ops β€” the mesh algorithm callbacks you're adding, bestie. it's a struct batadv_algo_ops * and it's carrying the whole personality of your algorithm, so hand it over gently. 🫢

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative error number if it fails 😭 (no cap, check that return value)

πŸ¦‹ SEE ALSO πŸ¦‹

like, go read the whole friend group, they're all iconic. πŸ‘‘


sign-off time πŸŽ€ β€” this one lives in ./net/batman-adv, it's dated October 2026, and the page is batadv_algo_register(9). mwah, stan batman-adv, bye bestie πŸ’œβœ¨

πŸ“¦ where this page comes from