_batadv_update_route(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ _batadv_update_route β€” like, the router-assignment girlie of the kernel ✨

Okay bestie, so this is a page from the Kernel API Manual, and it's all about _batadv_update_route β€” literally the function whose whole job is set the router for this originator. That's the NAME, that's the vibe, that's the whole thing. πŸ’…


✨ SYNOPSIS ✨

void _batadv_update_route (struct batadv_priv *bat_priv , struct
batadv_orig_node *orig_node , struct batadv_hard_iface *recv_if , struct
batadv_neigh_node *neigh_node );

She takes four structs and returns void. No cap, that's the whole signature, copy it exactly please 🫢


πŸŽ€ ARGUMENTS πŸŽ€

Four besties walk into the function:

  • bat_priv β€” the bat priv with all the mesh interface information. Like, all of it. She's the main character holding the whole mesh's info πŸ’–
  • orig_node β€” orig node which is to be configured. This is the one getting her route glow-up ✨
  • recv_if β€” the receive interface for which this route is set. Very "which door did this come in through" energy πŸšͺ
  • neigh_node β€” neighbor which should be the next router. The chosen one. The next hop. The icon πŸ‘‘

πŸ’€ DESCRIPTION πŸ’€

This function does not perform any error checks.

That's it. That's the description. No validation, no safety net, no vibe check β€” she is not checking your work, she is simply doing the thing. So like, make sure your args are correct before you call her, because she is NOT going to catch you. πŸ™ˆ

⚠️ Fr fr: no error checks in here. That's not a bug note, that's just how she is β€” she trusts you completely and that is both iconic and terrifying.

🌈 SEE ALSO 🌈

The whole fam, in order, keeping every single one because we do not skip entries in this house 🧚:


πŸ’œ Sign-off πŸ’œ

This lil masterpiece lives in ./net/batman-adv and it's dated October 2026 β€” yes, 2026, she's ahead of the curve, we love a forward-thinking queen. Go read the source, hydrate, and remember: no error checks, so double-check your own args. Mwah πŸ’‹ periodt πŸ’–

πŸ“¦ where this page comes from