batadv_algo_register(9)
β¨ 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 astruct batadv_algo_ops *and it's carrying the whole personality of your algorithm, so hand it over gently. π«Ά
β RETURN β
0on success π- a negative error number if it fails π (no cap, check that return value)
π¦ SEE ALSO π¦
- the kernel file
./net/batman-adv/bat_algo.c batadv_algo_init(9)batadv_algo_get(9)batadv_algo_select(9)batadv_param_set_ra(9)batadv_algo_dump_entry(9)batadv_algo_dump(9)
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
- 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