batadv_algo_dump_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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