batadv_algo_dump_entry(9)
π batadv_algo_dump_entry β the "tell me about this routing algo" filler-upper
Okay so bestie, real talk: this is a page from the Kernel API Manual about batadv_algo_dump_entry. β¨ The name literally tells you everything β it fills in the info about one supported routing algorithm. One. Singular. Main character energy only. π
β¨ NAME β¨
batadv_algo_dump_entry β fill in information about one supported routing algorithm
π SYNOPSIS π
int batadv_algo_dump_entry (struct sk_buff *msg , u32 portid , u32 seq ,
struct batadv_algo_ops *bat_algo_ops );
π¦ ARGUMENTS π¦
msgβ the netlink message you're sending back. Like, this is the envelope, and you're stuffing the algo details inside it. πportidβ the Port to reply to. Yes, capital P Port. Respect it. π«Άseqβ the Sequence number of the message. Gotta keep your messages in order, no chaos allowed. π’bat_algo_opsβ the Algorithm to be dumped. This is the one getting its whole moment in the spotlight. π
π RETURN π
It hands you back an Error number, or 0 on success. That's it, that's the vibe check. β
Ngl, 0 is the slay outcome here. Anything else means something went sideways, so check your error number fr fr. π
πΈ SEE ALSO πΈ
The kernel file to go look at is ./net/batman-adv/bat_algo.c, and it's giving family reunion β here's the whole crew:
batadv_algo_init(9)batadv_algo_get(9)batadv_algo_register(9)batadv_algo_select(9)batadv_param_set_ra(9)batadv_algo_dump(9)
And that's the whole page, bestie β go dump some algorithm entries and be iconic about it. π
Source: ./net/batman-adv β dated October 2026, part of the Kernel API Manual. Catch you in the next manpage, mwah. ππ
π¦ 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